Enum 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,
    Virtual,
    While,
    Continue,
    Box,
    Const,
    Where,
    Proc,
    Alignof,
    Become,
    Offsetof,
    Priv,
    Pure,
    Sizeof,
    Typeof,
    Unsized,
    Yield,
    Do,
    Abstract,
    Final,
    Override,
    Macro,
}
Unstable

Variants

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

Methods

impl Keyword

fn to_name(&self) -> Name

Unstable

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