#[repr(u8)]pub enum FFI_Volatility {
Immutable = 0,
Stable = 1,
Volatile = 2,
}Variants§
Trait Implementations§
Source§impl Clone for FFI_Volatility
impl Clone for FFI_Volatility
Source§fn clone(&self) -> FFI_Volatility
fn clone(&self) -> FFI_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 FFI_Volatility
impl Debug for FFI_Volatility
Source§impl From<&FFI_Volatility> for Volatility
impl From<&FFI_Volatility> for Volatility
Source§fn from(value: &FFI_Volatility) -> Self
fn from(value: &FFI_Volatility) -> Self
Converts to this type from the input type.
Source§impl From<Volatility> for FFI_Volatility
impl From<Volatility> for FFI_Volatility
Source§fn from(value: Volatility) -> Self
fn from(value: Volatility) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FFI_Volatility
impl RefUnwindSafe for FFI_Volatility
impl Send for FFI_Volatility
impl Sync for FFI_Volatility
impl Unpin for FFI_Volatility
impl UnsafeUnpin for FFI_Volatility
impl UnwindSafe for FFI_Volatility
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
impl<T> Allocation for T
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more