pub enum EffectExpr {
Effects(Vec<Effect>),
Add(Vec<EffectExpr>),
Sub {
minuend: Box<EffectExpr>,
subtrahend: Box<EffectExpr>,
},
Apply {
function: Box<Type>,
arguments: Vec<Type>,
},
}Variants§
Trait Implementations§
Source§impl Clone for EffectExpr
impl Clone for EffectExpr
Source§fn clone(&self) -> EffectExpr
fn clone(&self) -> EffectExpr
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 EffectExpr
impl Debug for EffectExpr
Source§impl Hash for EffectExpr
impl Hash for EffectExpr
Source§impl Ord for EffectExpr
impl Ord for EffectExpr
Source§fn cmp(&self, other: &EffectExpr) -> Ordering
fn cmp(&self, other: &EffectExpr) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EffectExpr
impl PartialEq for EffectExpr
Source§impl PartialOrd for EffectExpr
impl PartialOrd for EffectExpr
impl Eq for EffectExpr
impl StructuralPartialEq for EffectExpr
Auto Trait Implementations§
impl Freeze for EffectExpr
impl RefUnwindSafe for EffectExpr
impl Send for EffectExpr
impl Sync for EffectExpr
impl Unpin for EffectExpr
impl UnwindSafe for EffectExpr
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