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 duplicate 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<I: SemanticContextInstruction, E: ExtendedExpression<I>> From<IfLoopBodyStatement<'_, I, E>> for IfLoopBodyStatement
impl<I: SemanticContextInstruction, E: ExtendedExpression<I>> From<IfLoopBodyStatement<'_, I, E>> for IfLoopBodyStatement
Source§fn from(value: IfLoopBodyStatement<'_, I, E>) -> Self
fn from(value: IfLoopBodyStatement<'_, I, E>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IfLoopBodyStatement
impl PartialEq for IfLoopBodyStatement
impl StructuralPartialEq for IfLoopBodyStatement
Auto Trait Implementations§
impl Freeze for IfLoopBodyStatement
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