pub enum NodeKind {
Container(Vec<BoxRef>),
FullContainer {
version: u8,
flags: u32,
data_offset: u64,
data_len: u64,
children: Vec<BoxRef>,
},
FullBox {
version: u8,
flags: u32,
data_offset: u64,
data_len: u64,
},
Leaf {
data_offset: u64,
data_len: u64,
},
Unknown {
data_offset: u64,
data_len: u64,
},
}Variants§
Container(Vec<BoxRef>)
FullContainer
A FullBox that also contains child boxes (e.g. meta, iref, stsd).
data_offset/data_len cover the payload after version/flags, which
may include non-box fields (e.g. stsd’s entry_count) before the children.
FullBox
Leaf
Unknown
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeKind
impl RefUnwindSafe for NodeKind
impl Send for NodeKind
impl Sync for NodeKind
impl Unpin for NodeKind
impl UnsafeUnpin for NodeKind
impl UnwindSafe for NodeKind
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