pub struct Fourcc(/* private fields */);
Expand description
Wrapper around u32 when they are meant to be a fourcc.
Provides conversion and display/debug implementations useful when dealing with fourcc codes.
Trait Implementations§
Source§impl From<DecodedFormat> for Fourcc
impl From<DecodedFormat> for Fourcc
Source§fn from(format: DecodedFormat) -> Fourcc
fn from(format: DecodedFormat) -> Fourcc
Converts to this type from the input type.
Source§impl From<EncodedFormat> for Fourcc
impl From<EncodedFormat> for Fourcc
Source§fn from(format: EncodedFormat) -> Fourcc
fn from(format: EncodedFormat) -> Fourcc
Converts to this type from the input type.
Source§impl From<Fourcc> for DecodedFormat
impl From<Fourcc> for DecodedFormat
Source§fn from(fourcc: Fourcc) -> DecodedFormat
fn from(fourcc: Fourcc) -> DecodedFormat
Converts to this type from the input type.
Source§impl From<Fourcc> for EncodedFormat
impl From<Fourcc> for EncodedFormat
Source§fn from(fourcc: Fourcc) -> EncodedFormat
fn from(fourcc: Fourcc) -> EncodedFormat
Converts to this type from the input type.
impl Copy for Fourcc
impl StructuralPartialEq for Fourcc
Auto Trait Implementations§
impl Freeze for Fourcc
impl RefUnwindSafe for Fourcc
impl Send for Fourcc
impl Sync for Fourcc
impl Unpin for Fourcc
impl UnwindSafe for Fourcc
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