pub enum Keyword {
Show 20 variants
Fun,
Val,
Var,
If,
Elif,
Else,
Match,
While,
Module,
Extend,
Lambda,
Abstract,
Trait,
Struct,
Class,
Enum,
Foreign,
TypeAlias,
With,
Return,
}
Variants§
Fun
Val
Var
If
Elif
Else
Match
While
Module
Extend
Lambda
Abstract
Trait
Struct
Class
Enum
Foreign
TypeAlias
With
Return
Trait Implementations§
Source§impl ToRepresentation for Keyword
impl ToRepresentation for Keyword
fn representation(&self) -> &'static str
impl Copy 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 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