Mp4Box

Trait Mp4Box 

Source
pub trait Mp4Box: Sized {
    const TYPE: BoxType;

    // Required methods
    fn box_size(&self) -> u64;
    fn to_json(&self) -> Result<String, Error>;
    fn summary(&self) -> Result<String, Error>;
}

Required Associated Constants§

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Mp4Box for MetaBox

Source§

const TYPE: BoxType = BoxType::MetaBox

Source§

impl Mp4Box for Avc1Box

Source§

const TYPE: BoxType = BoxType::Avc1Box

Source§

impl Mp4Box for Co64Box

Source§

const TYPE: BoxType = BoxType::Co64Box

Source§

impl Mp4Box for CttsBox

Source§

const TYPE: BoxType = BoxType::CttsBox

Source§

impl Mp4Box for DataBox

Source§

const TYPE: BoxType = BoxType::DataBox

Source§

impl Mp4Box for DinfBox

Source§

const TYPE: BoxType = BoxType::DinfBox

Source§

impl Mp4Box for EdtsBox

Source§

const TYPE: BoxType = BoxType::EdtsBox

Source§

impl Mp4Box for ElstBox

Source§

const TYPE: BoxType = BoxType::ElstBox

Source§

impl Mp4Box for EmsgBox

Source§

const TYPE: BoxType = BoxType::EmsgBox

Source§

impl Mp4Box for FtypBox

Source§

const TYPE: BoxType = BoxType::FtypBox

Source§

impl Mp4Box for HdlrBox

Source§

const TYPE: BoxType = BoxType::HdlrBox

Source§

impl Mp4Box for Hev1Box

Source§

const TYPE: BoxType = BoxType::Hev1Box

Source§

impl Mp4Box for IlstBox

Source§

const TYPE: BoxType = BoxType::IlstBox

Source§

impl Mp4Box for MdhdBox

Source§

const TYPE: BoxType = BoxType::MdhdBox

Source§

impl Mp4Box for MdiaBox

Source§

const TYPE: BoxType = BoxType::MdiaBox

Source§

impl Mp4Box for MehdBox

Source§

const TYPE: BoxType = BoxType::MehdBox

Source§

impl Mp4Box for MfhdBox

Source§

const TYPE: BoxType = BoxType::MfhdBox

Source§

impl Mp4Box for MinfBox

Source§

const TYPE: BoxType = BoxType::MinfBox

Source§

impl Mp4Box for MoofBox

Source§

const TYPE: BoxType = BoxType::MoofBox

Source§

impl Mp4Box for MoovBox

Source§

const TYPE: BoxType = BoxType::MoovBox

Source§

impl Mp4Box for Mp4aBox

Source§

const TYPE: BoxType = BoxType::Mp4aBox

Source§

impl Mp4Box for MvexBox

Source§

const TYPE: BoxType = BoxType::MvexBox

Source§

impl Mp4Box for MvhdBox

Source§

const TYPE: BoxType = BoxType::MvhdBox

Source§

impl Mp4Box for SmhdBox

Source§

const TYPE: BoxType = BoxType::SmhdBox

Source§

impl Mp4Box for StblBox

Source§

const TYPE: BoxType = BoxType::StblBox

Source§

impl Mp4Box for StcoBox

Source§

const TYPE: BoxType = BoxType::StcoBox

Source§

impl Mp4Box for StscBox

Source§

const TYPE: BoxType = BoxType::StscBox

Source§

impl Mp4Box for StsdBox

Source§

const TYPE: BoxType = BoxType::StsdBox

Source§

impl Mp4Box for StssBox

Source§

const TYPE: BoxType = BoxType::StssBox

Source§

impl Mp4Box for StszBox

Source§

const TYPE: BoxType = BoxType::StszBox

Source§

impl Mp4Box for SttsBox

Source§

const TYPE: BoxType = BoxType::SttsBox

Source§

impl Mp4Box for TfdtBox

Source§

const TYPE: BoxType = BoxType::TfdtBox

Source§

impl Mp4Box for TfhdBox

Source§

const TYPE: BoxType = BoxType::TfhdBox

Source§

impl Mp4Box for TkhdBox

Source§

const TYPE: BoxType = BoxType::TkhdBox

Source§

impl Mp4Box for TrafBox

Source§

const TYPE: BoxType = BoxType::TrafBox

Source§

impl Mp4Box for TrakBox

Source§

const TYPE: BoxType = BoxType::TrakBox

Source§

impl Mp4Box for TrexBox

Source§

const TYPE: BoxType = BoxType::TrexBox

Source§

impl Mp4Box for TrunBox

Source§

const TYPE: BoxType = BoxType::TrunBox

Source§

impl Mp4Box for Tx3gBox

Source§

const TYPE: BoxType = BoxType::Tx3gBox

Source§

impl Mp4Box for UdtaBox

Source§

const TYPE: BoxType = BoxType::UdtaBox

Source§

impl Mp4Box for VmhdBox

Source§

const TYPE: BoxType = BoxType::VmhdBox

Source§

impl Mp4Box for Vp09Box

Source§

const TYPE: BoxType = BoxType::Vp09Box

Source§

impl Mp4Box for VpccBox

Source§

const TYPE: BoxType = BoxType::VpccBox