pub enum Statement {
Labeled(LabeledStatement),
Compound(CompoundStatement),
Expression(ExpressionStatement),
Selection(SelectionStatement),
Iteration(IterationStatement),
Jump(JumpStatement),
}Expand description
Statement
Variants§
Labeled(LabeledStatement)
Labeled statement
Compound(CompoundStatement)
Compound statement
Expression(ExpressionStatement)
Expression statement
Selection(SelectionStatement)
Selection statement
Iteration(IterationStatement)
Iteration statement
Jump(JumpStatement)
Jump statement
Trait Implementations§
impl StructuralPartialEq for Statement
Auto Trait Implementations§
impl Freeze for Statement
impl RefUnwindSafe for Statement
impl Send for Statement
impl Sync for Statement
impl Unpin for Statement
impl UnwindSafe for Statement
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