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
[src]

fn to_name(&self) -> Name

Trait Implementations

Derived Implementations

impl Eq for Keyword
[src]

impl PartialEq for Keyword
[src]

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

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Clone for Keyword
[src]

fn clone(&self) -> Keyword

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for Keyword
[src]