Trait Ident

Source
pub trait Ident: PartialEq<DataIdent> {
    // Required methods
    fn fourcc(&self) -> Option<Fourcc>;
    fn freeform(&self) -> Option<FreeformIdentBorrowed<'_>>;
}
Expand description

A trait providing information about an identifier.

Required Methods§

Source

fn fourcc(&self) -> Option<Fourcc>

Returns a 4 byte atom identifier.

Source

fn freeform(&self) -> Option<FreeformIdentBorrowed<'_>>

Returns a freeform identifier.

Implementors§