pub enum Reversibility {
None,
Trivial,
Recoverable,
Effortful,
Irreversible,
}Expand description
How hard the effect is to undo (v1.4 §2.3). Environment-dependent cases resolve worst-case (HP-8).
Variants§
Trait Implementations§
Source§impl Clone for Reversibility
impl Clone for Reversibility
Source§fn clone(&self) -> Reversibility
fn clone(&self) -> Reversibility
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 moreimpl Copy for Reversibility
Source§impl Debug for Reversibility
impl Debug for Reversibility
Source§impl Default for Reversibility
impl Default for Reversibility
Source§fn default() -> Reversibility
fn default() -> Reversibility
Returns the “default value” for a type. Read more
impl Eq for Reversibility
Source§impl FacetTerm for Reversibility
impl FacetTerm for Reversibility
Source§impl Hash for Reversibility
impl Hash for Reversibility
Source§impl Ord for Reversibility
impl Ord for Reversibility
Source§fn cmp(&self, other: &Reversibility) -> Ordering
fn cmp(&self, other: &Reversibility) -> Ordering
1.21.0 (const: unstable) · 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 Reversibility
impl PartialEq for Reversibility
Source§impl PartialOrd for Reversibility
impl PartialOrd for Reversibility
impl StructuralPartialEq for Reversibility
Auto Trait Implementations§
impl Freeze for Reversibility
impl RefUnwindSafe for Reversibility
impl Send for Reversibility
impl Sync for Reversibility
impl Unpin for Reversibility
impl UnsafeUnpin for Reversibility
impl UnwindSafe for Reversibility
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.