#[repr(u8)]pub enum StatementTag {
Show 22 variants
Block = 0,
Assign = 1,
CompoundAssign = 2,
Break = 3,
Continue = 4,
Class = 5,
Expression = 6,
NumericFor = 7,
GenericFor = 8,
FunctionDeclaration = 9,
If = 10,
LocalFunction = 11,
Local = 12,
TypeAlias = 13,
TypeFunction = 14,
DeclareGlobal = 15,
DeclareFunction = 16,
DeclareExternType = 17,
Repeat = 18,
Return = 19,
While = 20,
Error = 21,
}Variants§
Block = 0
Assign = 1
CompoundAssign = 2
Break = 3
Continue = 4
Class = 5
Expression = 6
NumericFor = 7
GenericFor = 8
FunctionDeclaration = 9
If = 10
LocalFunction = 11
Local = 12
TypeAlias = 13
TypeFunction = 14
DeclareGlobal = 15
DeclareFunction = 16
DeclareExternType = 17
Repeat = 18
Return = 19
While = 20
Error = 21
Trait Implementations§
Source§impl Clone for StatementTag
impl Clone for StatementTag
Source§fn clone(&self) -> StatementTag
fn clone(&self) -> StatementTag
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StatementTag
Source§impl Debug for StatementTag
impl Debug for StatementTag
impl Eq for StatementTag
Source§impl PartialEq for StatementTag
impl PartialEq for StatementTag
impl StructuralPartialEq for StatementTag
Auto Trait Implementations§
impl Freeze for StatementTag
impl RefUnwindSafe for StatementTag
impl Send for StatementTag
impl Sync for StatementTag
impl Unpin for StatementTag
impl UnsafeUnpin for StatementTag
impl UnwindSafe for StatementTag
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