Enum mp4ameta::DataIdent [−][src]
An identifier for data.
Variants
Fourcc(Fourcc)A standard identifier containing a 4 byte atom identifier.
An identifier of a freeform (----) atom containing owned mean and name strings.
Show fields
Implementations
impl DataIdent[src]
impl DataIdent[src]pub fn freeform(mean: impl Into<String>, name: impl Into<String>) -> Self[src]
Creates a new identifier of type DataIdent::Freeform containing the owned mean, and
name string.
pub const fn fourcc(bytes: [u8; 4]) -> Self[src]
Creates a new identifier of type DataIdent::Fourcc containing an atom identifier with
the 4-byte identifier.
Trait Implementations
impl From<&'_ FreeformIdent<'_>> for DataIdent[src]
impl From<&'_ FreeformIdent<'_>> for DataIdent[src]fn from(value: &FreeformIdent<'_>) -> Self[src]
impl From<FreeformIdent<'_>> for DataIdent[src]
impl From<FreeformIdent<'_>> for DataIdent[src]fn from(value: FreeformIdent<'_>) -> Self[src]
impl StructuralEq for DataIdent[src]
impl StructuralEq for DataIdent[src]impl StructuralPartialEq for DataIdent[src]
impl StructuralPartialEq for DataIdent[src]Auto Trait Implementations
impl RefUnwindSafe for DataIdent
impl RefUnwindSafe for DataIdentimpl UnwindSafe for DataIdent
impl UnwindSafe for DataIdent