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