Struct Numsamples
#[repr(transparent)]pub struct Numsamples(pub u32);
Expand description
Number of input samples at 2MHz sample rate
Tuple Fields§
§0: u32
Implementations§
§impl Numsamples
impl Numsamples
pub const fn numsamples(&self) -> u8
pub const fn numsamples(&self) -> u8
Maximum value supported is 160
pub fn set_numsamples(&mut self, val: u8)
pub fn set_numsamples(&mut self, val: u8)
Maximum value supported is 160
Trait Implementations§
§impl Clone for Numsamples
impl Clone for Numsamples
§fn clone(&self) -> Numsamples
fn clone(&self) -> Numsamples
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 Default for Numsamples
impl Default for Numsamples
§fn default() -> Numsamples
fn default() -> Numsamples
Returns the “default value” for a type. Read more
§impl PartialEq for Numsamples
impl PartialEq for Numsamples
impl Copy for Numsamples
impl Eq for Numsamples
impl StructuralPartialEq for Numsamples
Auto Trait Implementations§
impl Freeze for Numsamples
impl RefUnwindSafe for Numsamples
impl Send for Numsamples
impl Sync for Numsamples
impl Unpin for Numsamples
impl UnwindSafe for Numsamples
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
)