Struct floaout::bub::BubFrameWriter
source · [−]pub struct BubFrameWriter<W: Write, S: Sample> {
pub inner: W,
pub pos: u64,
pub metadata: BubMetadata,
pub crc: CRC<u32>,
/* private fields */
}
Fields
inner: W
pos: u64
metadata: BubMetadata
crc: CRC<u32>
CRC
Implementations
sourceimpl<W: Write, S: Sample> BubFrameWriter<W, S>
impl<W: Write, S: Sample> BubFrameWriter<W, S>
pub fn new(inner: W, metadata_and_crc: (BubMetadata, CRC<u32>)) -> Self
pub fn write_head_to_less_than_next_head_or_ended(
&mut self,
bub_fns_block: BubFnsBlock<'_, S>
) -> Result<()>
Trait Implementations
Auto Trait Implementations
impl<W, S> RefUnwindSafe for BubFrameWriter<W, S> where
S: RefUnwindSafe,
W: RefUnwindSafe,
impl<W, S> Send for BubFrameWriter<W, S> where
S: Send,
W: Send,
impl<W, S> Sync for BubFrameWriter<W, S> where
S: Sync,
W: Sync,
impl<W, S> Unpin for BubFrameWriter<W, S> where
S: Unpin,
W: Unpin,
impl<W, S> UnwindSafe for BubFrameWriter<W, S> where
S: UnwindSafe,
W: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more