Struct mp4ameta::AtomData [−][src]
A struct representing data that is associated with an atom identifier.
Fields
ident: DataIdentThe identifier of the atom.
data: DataThe data contained in the atom.
Implementations
impl AtomData[src]
impl AtomData[src]pub const fn new(ident: DataIdent, data: Data) -> Self[src]
Creates atom data with the identifier and data.
pub fn len(&self) -> u64[src]
Returns the external length of the atom in bytes.
pub fn is_empty(&self) -> bool[src]
Returns whether the inner data atom is empty.
pub fn write_to(&self, writer: &mut impl Write) -> Result<()>[src]
Attempts to write the atom data to the writer.
Trait Implementations
impl StructuralEq for AtomData[src]
impl StructuralEq for AtomData[src]impl StructuralPartialEq for AtomData[src]
impl StructuralPartialEq for AtomData[src]Auto Trait Implementations
impl RefUnwindSafe for AtomData
impl RefUnwindSafe for AtomDataimpl UnwindSafe for AtomData
impl UnwindSafe for AtomData