Enum semantic_analyzer::types::IfBodyStatements
source · pub enum IfBodyStatements {
If(Vec<IfBodyStatement>),
Loop(Vec<IfLoopBodyStatement>),
}
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 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 PartialEq<IfBodyStatements> for IfBodyStatements
impl PartialEq<IfBodyStatements> for IfBodyStatements
source§fn eq(&self, other: &IfBodyStatements) -> bool
fn eq(&self, other: &IfBodyStatements) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IfBodyStatements
Auto Trait Implementations§
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