pub enum Keyword {
Show 17 variants
And,
Class,
Else,
False,
Fun,
For,
If,
Nil,
Or,
Print,
Roar,
Return,
Super,
This,
True,
Var,
While,
}Expand description
All reserved keywords
Variants§
And
and
Class
class
Else
else
False
false
Fun
fun
For
for
If
if
Nil
nil
Or
or
Roar
Roar
Return
return
Super
super
This
this
True
true
Var
var
While
while
Trait Implementations§
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 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