Enum semantic_analyzer::ast::IfBodyStatements
source · pub enum IfBodyStatements<'a> {
If(Vec<IfBodyStatement<'a>>),
Loop(Vec<IfLoopBodyStatement<'a>>),
}
Variants§
If(Vec<IfBodyStatement<'a>>)
Loop(Vec<IfLoopBodyStatement<'a>>)
Trait Implementations§
source§impl<'a> Clone for IfBodyStatements<'a>
impl<'a> Clone for IfBodyStatements<'a>
source§fn clone(&self) -> IfBodyStatements<'a>
fn clone(&self) -> IfBodyStatements<'a>
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<'a> Debug for IfBodyStatements<'a>
impl<'a> Debug for IfBodyStatements<'a>
source§impl From<IfBodyStatements<'_>> for IfBodyStatements
impl From<IfBodyStatements<'_>> for IfBodyStatements
source§fn from(value: IfBodyStatements<'_>) -> Self
fn from(value: IfBodyStatements<'_>) -> Self
Converts to this type from the input type.
source§impl<'a> PartialEq<IfBodyStatements<'a>> for IfBodyStatements<'a>
impl<'a> PartialEq<IfBodyStatements<'a>> for IfBodyStatements<'a>
source§fn eq(&self, other: &IfBodyStatements<'a>) -> bool
fn eq(&self, other: &IfBodyStatements<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> StructuralPartialEq for IfBodyStatements<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for IfBodyStatements<'a>
impl<'a> Send for IfBodyStatements<'a>
impl<'a> Sync for IfBodyStatements<'a>
impl<'a> Unpin for IfBodyStatements<'a>
impl<'a> UnwindSafe for IfBodyStatements<'a>
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