#[repr(u8)]pub enum Samplingstate {
IDLE = 0,
SAMPLING = 1,
}
Variants§
Implementations§
Source§impl Samplingstate
impl Samplingstate
Trait Implementations§
Source§impl Clone for Samplingstate
impl Clone for Samplingstate
Source§fn clone(&self) -> Samplingstate
fn clone(&self) -> Samplingstate
Returns a copy 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 From<Samplingstate> for u8
impl From<Samplingstate> for u8
Source§fn from(val: Samplingstate) -> u8
fn from(val: Samplingstate) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Samplingstate
impl From<u8> for Samplingstate
Source§fn from(val: u8) -> Samplingstate
fn from(val: u8) -> Samplingstate
Converts to this type from the input type.
Source§impl Ord for Samplingstate
impl Ord for Samplingstate
Source§fn cmp(&self, other: &Samplingstate) -> Ordering
fn cmp(&self, other: &Samplingstate) -> 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 Samplingstate
impl PartialEq for Samplingstate
Source§impl PartialOrd for Samplingstate
impl PartialOrd for Samplingstate
impl Copy for Samplingstate
impl Eq for Samplingstate
impl StructuralPartialEq for Samplingstate
Auto Trait Implementations§
impl Freeze for Samplingstate
impl RefUnwindSafe for Samplingstate
impl Send for Samplingstate
impl Sync for Samplingstate
impl Unpin for Samplingstate
impl UnwindSafe for Samplingstate
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)