Enum syntax::parse::token::keywords::KeywordUnstable [-] [+] [src]

pub enum Keyword {
    As,
    Break,
    Crate,
    Else,
    Enum,
    Extern,
    False,
    Fn,
    For,
    If,
    Impl,
    In,
    Let,
    Loop,
    Match,
    Mod,
    Move,
    Mut,
    Pub,
    Ref,
    Return,
    Static,
    SelfValue,
    SelfType,
    Struct,
    Super,
    True,
    Trait,
    Type,
    Unsafe,
    Use,
    Virtual,
    While,
    Continue,
    Proc,
    Box,
    Const,
    Where,
    Alignof,
    Become,
    Offsetof,
    Priv,
    Pure,
    Sizeof,
    Typeof,
    Unsized,
    Yield,
    Do,
    Abstract,
    Final,
    Override,
    Macro,
}

Variants

As
Break
Crate
Else
Enum
Extern
False
Fn
For
If
Impl
In
Let
Loop
Match
Mod
Move
Mut
Pub
Ref
Return
Static
SelfValue
SelfType
Struct
Super
True
Trait
Type
Unsafe
Use
Virtual
While
Continue
Proc
Box
Const
Where
Alignof
Become
Offsetof
Priv
Pure
Sizeof
Typeof
Unsized
Yield
Do
Abstract
Final
Override
Macro

Methods

impl Keyword

fn to_name(&self) -> Name

Trait Implementations

Derived Implementations

impl Eq for Keyword

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Keyword

fn eq(&self, __arg_0: &Keyword) -> bool

fn ne(&self, __arg_0: &Keyword) -> bool

impl Clone for Keyword

fn clone(&self) -> Keyword

fn clone_from(&mut self, source: &Self)

impl Copy for Keyword