Enum Sampletype
#[repr(u8)]pub enum Sampletype {
IQ = 0,
MAG_PHASE = 1,
}
Variants§
Implementations§
§impl Sampletype
impl Sampletype
pub const fn from_bits(val: u8) -> Sampletype
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Sampletype
impl Clone for Sampletype
§fn clone(&self) -> Sampletype
fn clone(&self) -> Sampletype
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 Sampletype
impl From<u8> for Sampletype
§fn from(val: u8) -> Sampletype
fn from(val: u8) -> Sampletype
Converts to this type from the input type.
§impl Ord for Sampletype
impl Ord for Sampletype
§impl PartialEq for Sampletype
impl PartialEq for Sampletype
§impl PartialOrd for Sampletype
impl PartialOrd for Sampletype
impl Copy for Sampletype
impl Eq for Sampletype
impl StructuralPartialEq for Sampletype
Auto Trait Implementations§
impl Freeze for Sampletype
impl RefUnwindSafe for Sampletype
impl Send for Sampletype
impl Sync for Sampletype
impl Unpin for Sampletype
impl UnwindSafe for Sampletype
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
)