pub struct WlOutputSubpixel(pub u32);Expand description
subpixel geometry information
This enumeration describes how the physical pixels on an output are laid out.
Tuple Fields§
§0: u32Implementations§
Source§impl WlOutputSubpixel
impl WlOutputSubpixel
Sourcepub const HORIZONTAL_RGB: Self
pub const HORIZONTAL_RGB: Self
horizontal RGB
Sourcepub const HORIZONTAL_BGR: Self
pub const HORIZONTAL_BGR: Self
horizontal BGR
Sourcepub const VERTICAL_RGB: Self
pub const VERTICAL_RGB: Self
vertical RGB
Sourcepub const VERTICAL_BGR: Self
pub const VERTICAL_BGR: Self
vertical BGR
Trait Implementations§
Source§impl Clone for WlOutputSubpixel
impl Clone for WlOutputSubpixel
Source§fn clone(&self) -> WlOutputSubpixel
fn clone(&self) -> WlOutputSubpixel
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 WlOutputSubpixel
impl Debug for WlOutputSubpixel
Source§impl Hash for WlOutputSubpixel
impl Hash for WlOutputSubpixel
Source§impl Ord for WlOutputSubpixel
impl Ord for WlOutputSubpixel
Source§fn cmp(&self, other: &WlOutputSubpixel) -> Ordering
fn cmp(&self, other: &WlOutputSubpixel) -> Ordering
1.21.0 · 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
Source§impl PartialEq for WlOutputSubpixel
impl PartialEq for WlOutputSubpixel
Source§impl PartialOrd for WlOutputSubpixel
impl PartialOrd for WlOutputSubpixel
impl Copy for WlOutputSubpixel
impl Eq for WlOutputSubpixel
impl StructuralPartialEq for WlOutputSubpixel
Auto Trait Implementations§
impl Freeze for WlOutputSubpixel
impl RefUnwindSafe for WlOutputSubpixel
impl Send for WlOutputSubpixel
impl Sync for WlOutputSubpixel
impl Unpin for WlOutputSubpixel
impl UnwindSafe for WlOutputSubpixel
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