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 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)