pub struct FormatHeader<SAMPLE> { /* private fields */ }
Implementations§
Source§impl<SAMPLE> FormatHeader<SAMPLE>
impl<SAMPLE> FormatHeader<SAMPLE>
pub fn new(format: impl IntoDataFormat, channels: u16, sample_rate: u32) -> Self
Auto Trait Implementations§
impl<SAMPLE> Freeze for FormatHeader<SAMPLE>
impl<SAMPLE> RefUnwindSafe for FormatHeader<SAMPLE>where
SAMPLE: RefUnwindSafe,
impl<SAMPLE> Send for FormatHeader<SAMPLE>where
SAMPLE: Send,
impl<SAMPLE> Sync for FormatHeader<SAMPLE>where
SAMPLE: Sync,
impl<SAMPLE> Unpin for FormatHeader<SAMPLE>where
SAMPLE: Unpin,
impl<SAMPLE> UnwindSafe for FormatHeader<SAMPLE>where
SAMPLE: UnwindSafe,
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