Enum syntex_syntax::parse::token::keywords::Keyword [] [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,
    While,
    Continue,
    Box,
    Const,
    Where,
    Virtual,
    Proc,
    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
While
Continue
Box
Const
Where
Virtual
Proc
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

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