pub struct IvfMuxer { /* private fields */ }
Implementations
Trait Implementations
sourceimpl Muxer for IvfMuxer
impl Muxer for IvfMuxer
This should be called if IvfMuxer::info is set
sourcefn write_header<W: Write>(&mut self, buf: &mut Writer<W>) -> Result<()>
fn write_header<W: Write>(&mut self, buf: &mut Writer<W>) -> Result<()>
Writes a stream header into a data structure implementing
the Write
trait. Read more
sourcefn write_packet<W: Write>(
&mut self,
buf: &mut Writer<W>,
pkt: Arc<Packet>
) -> Result<()>
fn write_packet<W: Write>(
&mut self,
buf: &mut Writer<W>,
pkt: Arc<Packet>
) -> Result<()>
Writes a stream packet into a data structure implementing
the Write
trait. Read more
sourcefn write_trailer<W: Write>(&mut self, buf: &mut Writer<W>) -> Result<()>
fn write_trailer<W: Write>(&mut self, buf: &mut Writer<W>) -> Result<()>
Writes a stream trailer into a data structure implementing
the Write
trait. Read more
sourcefn set_global_info(&mut self, info: GlobalInfo) -> Result<()>
fn set_global_info(&mut self, info: GlobalInfo) -> Result<()>
Sets global media file information for a muxer.
Auto Trait Implementations
impl !RefUnwindSafe for IvfMuxer
impl Send for IvfMuxer
impl Sync for IvfMuxer
impl Unpin for IvfMuxer
impl !UnwindSafe for IvfMuxer
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