pub enum EffectReversibility {
Reversible,
PartiallyReversible,
Irreversible,
}Expand description
Whether a declared effect can be undone after execution.
Variants§
Trait Implementations§
Source§impl Clone for EffectReversibility
impl Clone for EffectReversibility
Source§fn clone(&self) -> EffectReversibility
fn clone(&self) -> EffectReversibility
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EffectReversibility
impl Debug for EffectReversibility
Source§impl<'de> Deserialize<'de> for EffectReversibility
impl<'de> Deserialize<'de> for EffectReversibility
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for EffectReversibility
impl Hash for EffectReversibility
Source§impl PartialEq for EffectReversibility
impl PartialEq for EffectReversibility
Source§fn eq(&self, other: &EffectReversibility) -> bool
fn eq(&self, other: &EffectReversibility) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EffectReversibility
impl Serialize for EffectReversibility
impl Copy for EffectReversibility
impl Eq for EffectReversibility
impl StructuralPartialEq for EffectReversibility
Auto Trait Implementations§
impl Freeze for EffectReversibility
impl RefUnwindSafe for EffectReversibility
impl Send for EffectReversibility
impl Sync for EffectReversibility
impl Unpin for EffectReversibility
impl UnsafeUnpin for EffectReversibility
impl UnwindSafe for EffectReversibility
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