pub enum Keyword {
Show 16 variants
Local,
Function,
If,
Elseif,
Then,
Else,
While,
For,
In,
Do,
Break,
Return,
End,
Repeat,
Until,
Nil,
}Expand description
Words that can only be used as be keywords. Check PartialKeyword.
Variants§
Local
The local keyword.
Function
The function keyword.
If
The if keyword.
Elseif
The elseif keyword.
Then
The then keyword.
Else
The else keyword.
While
The while keyword.
For
The for keyword.
In
The in keyword.
Do
The do keyword.
Break
The break keyword.
Return
The return keyword.
End
The end keyword.
Repeat
The repeat keyword.
Until
The until keyword.
Nil
The nil keyword.
Implementations§
Trait Implementations§
Source§impl Ord for Keyword
impl Ord for Keyword
Source§impl PartialOrd for Keyword
impl PartialOrd for Keyword
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 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