#[repr(transparent)]pub struct Numsamplescoeff(pub u32);
Expand description
Parameter used in TPM, provided by software
Tuple Fields§
§0: u32
Implementations§
Source§impl Numsamplescoeff
impl Numsamplescoeff
Sourcepub const fn numsamplescoeff(&self) -> u16
pub const fn numsamplescoeff(&self) -> u16
Coefficient 2**16/(numSamples/16) in Q1.15 format (Default numsamples value is 160)
Sourcepub fn set_numsamplescoeff(&mut self, val: u16)
pub fn set_numsamplescoeff(&mut self, val: u16)
Coefficient 2**16/(numSamples/16) in Q1.15 format (Default numsamples value is 160)
Trait Implementations§
Source§impl Clone for Numsamplescoeff
impl Clone for Numsamplescoeff
Source§fn clone(&self) -> Numsamplescoeff
fn clone(&self) -> Numsamplescoeff
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 Default for Numsamplescoeff
impl Default for Numsamplescoeff
Source§fn default() -> Numsamplescoeff
fn default() -> Numsamplescoeff
Returns the “default value” for a type. Read more
Source§impl PartialEq for Numsamplescoeff
impl PartialEq for Numsamplescoeff
impl Copy for Numsamplescoeff
impl Eq for Numsamplescoeff
impl StructuralPartialEq for Numsamplescoeff
Auto Trait Implementations§
impl Freeze for Numsamplescoeff
impl RefUnwindSafe for Numsamplescoeff
impl Send for Numsamplescoeff
impl Sync for Numsamplescoeff
impl Unpin for Numsamplescoeff
impl UnwindSafe for Numsamplescoeff
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
)