pub enum Keyword {
Show 27 variants
Async,
Await,
Break,
Continue,
Dyn,
Else,
Enum,
Export,
Fn,
For,
If,
Impl,
In,
Is,
Let,
Match,
Opaque,
Return,
Scope,
SelfValue,
Struct,
Test,
Trait,
Type,
Use,
Var,
While,
}Expand description
Keywords recognised by the MVP grammar.
Variants§
Async
Await
Break
Continue
Dyn
Else
Enum
Export
Fn
For
If
Impl
In
Is
Let
Match
Opaque
Return
Scope
SelfValue
Struct
Test
Trait
Type
Use
Var
While
Implementations§
Trait Implementations§
impl Copy for Keyword
impl Eq for Keyword
impl StructuralPartialEq for Keyword
Auto Trait Implementations§
impl Freeze for Keyword
impl RefUnwindSafe for Keyword
impl Send for Keyword
impl Sync for Keyword
impl Unpin for Keyword
impl UnsafeUnpin for Keyword
impl UnwindSafe for Keyword
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more