pub enum IfBodyStatements {
If(Vec<IfBodyStatement>),
Loop(Vec<IfLoopBodyStatement>),
}
Expand description
If-body statement can be:
- if-body-statement related only
- loop-body-statement related - special case for the loops
Variants§
If(Vec<IfBodyStatement>)
Loop(Vec<IfLoopBodyStatement>)
Trait Implementations§
Source§impl Clone for IfBodyStatements
impl Clone for IfBodyStatements
Source§fn clone(&self) -> IfBodyStatements
fn clone(&self) -> IfBodyStatements
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 IfBodyStatements
impl Debug for IfBodyStatements
Source§impl<I: SemanticContextInstruction, E: ExtendedExpression<I>> From<IfBodyStatements<'_, I, E>> for IfBodyStatements
impl<I: SemanticContextInstruction, E: ExtendedExpression<I>> From<IfBodyStatements<'_, I, E>> for IfBodyStatements
Source§fn from(value: IfBodyStatements<'_, I, E>) -> Self
fn from(value: IfBodyStatements<'_, I, E>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IfBodyStatements
impl PartialEq for IfBodyStatements
impl StructuralPartialEq for IfBodyStatements
Auto Trait Implementations§
impl Freeze for IfBodyStatements
impl RefUnwindSafe for IfBodyStatements
impl Send for IfBodyStatements
impl Sync for IfBodyStatements
impl Unpin for IfBodyStatements
impl UnwindSafe for IfBodyStatements
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