Enum syntax::parse::token::keywords::KeywordExperimental [-]  [+] [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,
    Self,
    Struct,
    Super,
    True,
    Trait,
    Type,
    Unsafe,
    Use,
    Virtual,
    While,
    Continue,
    Proc,
    Box,
    Const,
    Where,
    Alignof,
    Be,
    Offsetof,
    Priv,
    Pure,
    Sizeof,
    Typeof,
    Unsized,
    Yield,
    Do,
    Abstract,
    Final,
    Override,
}

Variants

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

Methods

impl Keyword

fn to_name(&self) -> Name

Trait Implementations

Derived Implementations

impl Copy for Keyword