pub enum IfLoopBodyStatement {
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 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 From<IfLoopBodyStatement<'_>> for IfLoopBodyStatement
impl From<IfLoopBodyStatement<'_>> for IfLoopBodyStatement
source§fn from(value: IfLoopBodyStatement<'_>) -> Self
fn from(value: IfLoopBodyStatement<'_>) -> Self
Converts to this type from the input type.
source§impl PartialEq<IfLoopBodyStatement> for IfLoopBodyStatement
impl PartialEq<IfLoopBodyStatement> 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