pub struct FormatMod {
pub fourcc: u32,
pub modifier: Modifier,
}Expand description
A (fourcc, modifier) pair a plane accepts.
Fields§
§fourcc: u32The FourCC pixel format.
modifier: ModifierThe layout modifier.
Trait Implementations§
impl Copy for FormatMod
impl Eq for FormatMod
Source§impl Ord for FormatMod
impl Ord for FormatMod
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 FormatMod
impl PartialOrd for FormatMod
impl StructuralPartialEq for FormatMod
Auto Trait Implementations§
impl Freeze for FormatMod
impl RefUnwindSafe for FormatMod
impl Send for FormatMod
impl Sync for FormatMod
impl Unpin for FormatMod
impl UnsafeUnpin for FormatMod
impl UnwindSafe for FormatMod
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