pub struct SampleCount(pub i32);Tuple Fields§
§0: i32Implementations§
Source§impl SampleCount
impl SampleCount
pub fn new(count: i32) -> SampleCount
Trait Implementations§
Source§impl Clone for SampleCount
impl Clone for SampleCount
Source§fn clone(&self) -> SampleCount
fn clone(&self) -> SampleCount
Returns a duplicate 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 Debug for SampleCount
impl Debug for SampleCount
Source§impl From<i32> for SampleCount
impl From<i32> for SampleCount
Source§fn from(count: i32) -> SampleCount
fn from(count: i32) -> SampleCount
Converts to this type from the input type.
Source§impl From<u32> for SampleCount
impl From<u32> for SampleCount
Source§fn from(count: u32) -> SampleCount
fn from(count: u32) -> SampleCount
Converts to this type from the input type.
Source§impl From<usize> for SampleCount
impl From<usize> for SampleCount
Source§fn from(count: usize) -> SampleCount
fn from(count: usize) -> SampleCount
Converts to this type from the input type.
impl Copy for SampleCount
Auto Trait Implementations§
impl Freeze for SampleCount
impl RefUnwindSafe for SampleCount
impl Send for SampleCount
impl Sync for SampleCount
impl Unpin for SampleCount
impl UnwindSafe for SampleCount
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