pub enum IfLoopBodyStatement {
LetBinding(LetBinding),
Binding(Binding),
FunctionCall(FunctionCall),
If(IfStatement),
Loop(Vec<LoopBodyStatement>),
Return(Expression),
Break,
Continue,
}Expand description
If-loop body statements represent body of if-body in the loops
Variants§
LetBinding(LetBinding)
Binding(Binding)
FunctionCall(FunctionCall)
If(IfStatement)
Loop(Vec<LoopBodyStatement>)
Return(Expression)
Break
Continue
Trait Implementations§
source§impl Clone for IfLoopBodyStatement
impl Clone for IfLoopBodyStatement
source§fn clone(&self) -> IfLoopBodyStatement
fn clone(&self) -> IfLoopBodyStatement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for IfLoopBodyStatement
impl Debug for IfLoopBodyStatement
source§impl<E: ExtendedExpression> From<IfLoopBodyStatement<'_, E>> for IfLoopBodyStatement
impl<E: ExtendedExpression> From<IfLoopBodyStatement<'_, E>> for IfLoopBodyStatement
source§fn from(value: IfLoopBodyStatement<'_, E>) -> Self
fn from(value: IfLoopBodyStatement<'_, E>) -> Self
Converts to this type from the input type.
source§impl PartialEq for IfLoopBodyStatement
impl PartialEq for IfLoopBodyStatement
source§fn eq(&self, other: &IfLoopBodyStatement) -> bool
fn eq(&self, other: &IfLoopBodyStatement) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for IfLoopBodyStatement
Auto Trait Implementations§
impl RefUnwindSafe for IfLoopBodyStatement
impl Send for IfLoopBodyStatement
impl Sync for IfLoopBodyStatement
impl Unpin for IfLoopBodyStatement
impl UnwindSafe for IfLoopBodyStatement
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