pub enum Volatility {
Immutable,
Stable,
Volatile,
}Variants§
Trait Implementations§
Source§impl Clone for Volatility
impl Clone for Volatility
Source§fn clone(&self) -> Volatility
fn clone(&self) -> Volatility
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 Volatility
impl Debug for Volatility
Source§impl PartialEq for Volatility
impl PartialEq for Volatility
Source§fn eq(&self, other: &Volatility) -> bool
fn eq(&self, other: &Volatility) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for Volatility
impl StructuralPartialEq for Volatility
Auto Trait Implementations§
impl Freeze for Volatility
impl RefUnwindSafe for Volatility
impl Send for Volatility
impl Sync for Volatility
impl Unpin for Volatility
impl UnsafeUnpin for Volatility
impl UnwindSafe for Volatility
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