pub struct HandlerReferenceAtom {
pub version: u8,
pub flags: [u8; 3],
pub component_type: FourCC,
pub handler_type: HandlerType,
pub component_manufacturer: FourCC,
pub component_flags: u32,
pub component_flags_mask: u32,
pub name: Option<HandlerName>,
}Fields§
§version: u8Version of the hdlr atom format (0)
flags: [u8; 3]Flags for the hdlr atom (usually all zeros)
component_type: FourCCComponent type (pre-defined, usually 0)
handler_type: HandlerTypeHandler type (4CC code indicating the type of media handler)
component_manufacturer: FourCCComponent manufacturer (usually 0)
component_flags: u32Component flags (usually 0)
component_flags_mask: u32Component flags mask (usually 0)
name: Option<HandlerName>Human-readable name of the handler
Implementations§
Source§impl HandlerReferenceAtom
impl HandlerReferenceAtom
Sourcepub fn builder() -> HandlerReferenceAtomBuilder
pub fn builder() -> HandlerReferenceAtomBuilder
Create an instance of HandlerReferenceAtom using the builder syntax
Trait Implementations§
Source§impl Clone for HandlerReferenceAtom
impl Clone for HandlerReferenceAtom
Source§fn clone(&self) -> HandlerReferenceAtom
fn clone(&self) -> HandlerReferenceAtom
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HandlerReferenceAtom
impl Debug for HandlerReferenceAtom
Source§impl Default for HandlerReferenceAtom
impl Default for HandlerReferenceAtom
Source§fn default() -> HandlerReferenceAtom
fn default() -> HandlerReferenceAtom
Returns the “default value” for a type. Read more
Source§impl From<HandlerReferenceAtom> for AtomData
impl From<HandlerReferenceAtom> for AtomData
Source§fn from(atom: HandlerReferenceAtom) -> Self
fn from(atom: HandlerReferenceAtom) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HandlerReferenceAtom
impl RefUnwindSafe for HandlerReferenceAtom
impl Send for HandlerReferenceAtom
impl Sync for HandlerReferenceAtom
impl Unpin for HandlerReferenceAtom
impl UnsafeUnpin for HandlerReferenceAtom
impl UnwindSafe for HandlerReferenceAtom
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more