#[repr(u8)]pub enum Keyword {
Show 45 variants
Auto = 0,
Break = 1,
Case = 2,
Char = 3,
Const = 4,
Continue = 5,
Default = 6,
Do = 7,
Double = 8,
Else = 9,
Enum = 10,
Extern = 11,
Float = 12,
For = 13,
Goto = 14,
If = 15,
Inline = 16,
Int = 17,
Long = 18,
Register = 19,
Restrict = 20,
Return = 21,
Short = 22,
Signed = 23,
SizeOf = 24,
Static = 25,
Struct = 26,
Switch = 27,
TypeDef = 28,
Union = 29,
Unsigned = 30,
Void = 31,
Volatile = 32,
While = 33,
AlignAs = 34,
AlignOf = 35,
Atomic = 36,
Bool = 37,
Complex = 38,
Generic = 39,
Imaginary = 40,
NoReturn = 41,
StaticAssert = 42,
ThreadLocal = 43,
FuncName = 44,
}
Expand description
Keyword token
Variants§
Auto = 0
auto
Break = 1
break
Case = 2
case
Char = 3
char
Const = 4
const
Continue = 5
continue
Default = 6
default
Do = 7
do
Double = 8
double
Else = 9
else
Enum = 10
enum
Extern = 11
extern
Float = 12
float
For = 13
for
Goto = 14
goto
If = 15
if
Inline = 16
inline
Int = 17
int
Long = 18
long
Register = 19
register
Restrict = 20
restrict
Return = 21
return
Short = 22
short
Signed = 23
signed
SizeOf = 24
sizeof
Static = 25
static
Struct = 26
struct
Switch = 27
switch
TypeDef = 28
typedef
Union = 29
union
Unsigned = 30
unsigned
Void = 31
void
Volatile = 32
volatile
While = 33
while
AlignAs = 34
_Alignas
AlignOf = 35
_Alignof
Atomic = 36
_Atomic
Bool = 37
_Bool
Complex = 38
_Complex
Generic = 39
_Generic
Imaginary = 40
_Imaginary
NoReturn = 41
_Noreturn
StaticAssert = 42
_Static_assert
ThreadLocal = 43
_Thread_local
FuncName = 44
func
Trait Implementations§
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