pub enum GoKeyword {
Show 25 variants
Break,
Default,
Func,
Interface,
Select,
Case,
Defer,
Go,
Map,
Struct,
Chan,
Else,
Goto,
Package,
Switch,
Const,
Fallthrough,
If,
Range,
Type,
Continue,
For,
Import,
Return,
Var,
}Expand description
Go source keywords.
Variants§
Break
Default
Func
Interface
Select
Case
Defer
Go
Map
Struct
Chan
Else
Goto
Package
Switch
Const
Fallthrough
If
Range
Type
Continue
For
Import
Return
Var
Implementations§
Trait Implementations§
Source§impl Ord for GoKeyword
impl Ord for GoKeyword
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for GoKeyword
impl PartialOrd for GoKeyword
impl Copy for GoKeyword
impl Eq for GoKeyword
impl StructuralPartialEq for GoKeyword
Auto Trait Implementations§
impl Freeze for GoKeyword
impl RefUnwindSafe for GoKeyword
impl Send for GoKeyword
impl Sync for GoKeyword
impl Unpin for GoKeyword
impl UnsafeUnpin for GoKeyword
impl UnwindSafe for GoKeyword
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