Enum kodept_parse::lexer::enums::Keyword
source · 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 PartialEq for Keyword
impl PartialEq for Keyword
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)