pub enum LoopBodyStatement {
LetBinding(LetBinding),
Binding(Binding),
FunctionCall(FunctionCall),
If(IfStatement),
Loop(Vec<LoopBodyStatement>),
Return(Expression),
Break,
Continue,
}
Expand description
Loop body statement represents body for the loop
Variants§
LetBinding(LetBinding)
Binding(Binding)
FunctionCall(FunctionCall)
If(IfStatement)
Loop(Vec<LoopBodyStatement>)
Return(Expression)
Break
Continue
Trait Implementations§
Source§impl Clone for LoopBodyStatement
impl Clone for LoopBodyStatement
Source§fn clone(&self) -> LoopBodyStatement
fn clone(&self) -> LoopBodyStatement
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 LoopBodyStatement
impl Debug for LoopBodyStatement
Source§impl<I: SemanticContextInstruction, E: ExtendedExpression<I>> From<LoopBodyStatement<'_, I, E>> for LoopBodyStatement
impl<I: SemanticContextInstruction, E: ExtendedExpression<I>> From<LoopBodyStatement<'_, I, E>> for LoopBodyStatement
Source§fn from(value: LoopBodyStatement<'_, I, E>) -> Self
fn from(value: LoopBodyStatement<'_, I, E>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LoopBodyStatement
impl PartialEq for LoopBodyStatement
impl StructuralPartialEq for LoopBodyStatement
Auto Trait Implementations§
impl Freeze for LoopBodyStatement
impl RefUnwindSafe for LoopBodyStatement
impl Send for LoopBodyStatement
impl Sync for LoopBodyStatement
impl Unpin for LoopBodyStatement
impl UnwindSafe for LoopBodyStatement
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