Enum Samplingstate
#[repr(u8)]pub enum Samplingstate {
IDLE = 0,
SAMPLING = 1,
}
Variants§
Implementations§
§impl Samplingstate
impl Samplingstate
pub const fn from_bits(val: u8) -> Samplingstate
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Samplingstate
impl Clone for Samplingstate
§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 more§impl From<u8> for Samplingstate
impl From<u8> for Samplingstate
§fn from(val: u8) -> Samplingstate
fn from(val: u8) -> Samplingstate
Converts to this type from the input type.
§impl Ord for Samplingstate
impl Ord for Samplingstate
§impl PartialEq for Samplingstate
impl PartialEq for Samplingstate
§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
)