pub enum StmtField {
Show 19 variants
Block,
Empty,
Debugger,
With,
Return,
Labeled,
Break,
Continue,
If,
Switch,
Throw,
Try,
While,
DoWhile,
For,
ForIn,
ForOf,
Decl,
Expr,
}
Expand description
This enum represents fields of StmtField
Variants§
Block
This represents Block
Empty
This represents Empty
Debugger
This represents Debugger
With
This represents With
Return
This represents Return
Labeled
This represents Labeled
Break
This represents Break
Continue
This represents Continue
If
This represents If
Switch
This represents Switch
Throw
This represents Throw
Try
This represents Try
While
This represents While
DoWhile
This represents DoWhile
For
This represents For
ForIn
This represents ForIn
ForOf
This represents ForOf
Decl
This represents Decl
Expr
This represents Expr
Implementations§
Trait Implementations§
source§impl Ord for StmtField
impl Ord for StmtField
source§impl PartialOrd for StmtField
impl PartialOrd for StmtField
impl Copy for StmtField
impl Eq for StmtField
impl StructuralPartialEq for StmtField
Auto Trait Implementations§
impl Freeze for StmtField
impl RefUnwindSafe for StmtField
impl Send for StmtField
impl Sync for StmtField
impl Unpin for StmtField
impl UnwindSafe for StmtField
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
§impl<T> CallHasher for T
impl<T> CallHasher for T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more