Skip to main content

BoxWrite

Trait BoxWrite 

Source
pub trait BoxWrite: IBox {
    // Required method
    fn write<W: WriteMp4>(&self, writer: &mut W) -> Result<usize, MP4Error>;
}

Required Methods§

Source

fn write<W: WriteMp4>(&self, writer: &mut W) -> Result<usize, MP4Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: BoxWrite> BoxWrite for Option<T>

Source§

fn write<W: WriteMp4>(&self, writer: &mut W) -> Result<usize, MP4Error>

Source§

impl<T: BoxWrite> BoxWrite for Vec<T>

Source§

fn write<W: WriteMp4>(&self, writer: &mut W) -> Result<usize, MP4Error>

Implementors§