pub struct Fourcc(pub u32);Expand description
A DRM fourcc format code.
Stored as the packed little-endian character code the kernel uses, so it can be handed to KMS unchanged.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
impl Copy for Fourcc
impl Eq for Fourcc
Source§impl Ord for Fourcc
impl Ord for Fourcc
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Fourcc
impl PartialOrd 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 UnsafeUnpin 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