pub enum LoopBodyStatement {
LetBinding(LetBinding),
Binding(Binding),
FunctionCall(FunctionCall),
If(IfStatement),
Loop(Vec<LoopBodyStatement>),
Return(Expression),
Break,
Continue,
}
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 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 LoopBodyStatement
impl Debug for LoopBodyStatement
source§impl From<LoopBodyStatement<'_>> for LoopBodyStatement
impl From<LoopBodyStatement<'_>> for LoopBodyStatement
source§fn from(value: LoopBodyStatement<'_>) -> Self
fn from(value: LoopBodyStatement<'_>) -> Self
Converts to this type from the input type.
source§impl PartialEq<LoopBodyStatement> for LoopBodyStatement
impl PartialEq<LoopBodyStatement> for LoopBodyStatement
source§fn eq(&self, other: &LoopBodyStatement) -> bool
fn eq(&self, other: &LoopBodyStatement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LoopBodyStatement
Auto Trait Implementations§
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