pub enum Statement {
Labeled(LabeledStatement),
Compound(CompoundStatement),
Expression(ExpressionStatement),
Selection(SelectionStatement),
Iteration(IterationStatement),
Jump(JumpStatement),
}Expand description
语句
Variants§
Labeled(LabeledStatement)
标号语句
Compound(CompoundStatement)
复合语句
Expression(ExpressionStatement)
表达式语
Selection(SelectionStatement)
选择语句
Iteration(IterationStatement)
迭代语句
Jump(JumpStatement)
跳转语句
Implementations§
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