pub enum Statement {
Expression(Expression),
Return(Option<Expression>),
Let(Variable, Expression),
If(IfStatement),
While(WhileStatement),
}
Variants
Expression(Expression)
Return(Option<Expression>)
Let(Variable, Expression)
If(IfStatement)
While(WhileStatement)
Trait Implementations
impl Eq for Statement
impl StructuralEq for Statement
impl StructuralPartialEq for Statement
Auto Trait Implementations
impl RefUnwindSafe for Statement
impl Send for Statement
impl Sync for Statement
impl Unpin for Statement
impl UnwindSafe for Statement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more