pub struct SampleData<'t> {
pub sample_rate: u32,
pub data: &'t mut [u8],
}Fields§
§sample_rate: u32§data: &'t mut [u8]Auto Trait Implementations§
impl<'t> Freeze for SampleData<'t>
impl<'t> RefUnwindSafe for SampleData<'t>
impl<'t> Send for SampleData<'t>
impl<'t> Sync for SampleData<'t>
impl<'t> Unpin for SampleData<'t>
impl<'t> !UnwindSafe for SampleData<'t>
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 12 bytes