Enum wayrs_client::protocol::wl_output::Subpixel
source · #[non_exhaustive]#[repr(u32)]pub enum Subpixel {
Unknown = 0,
None = 1,
HorizontalRgb = 2,
HorizontalBgr = 3,
VerticalRgb = 4,
VerticalBgr = 5,
}Expand description
subpixel geometry information
This enumeration describes how the physical pixels on an output are laid out.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown = 0
unknown geometry
Since version 1.
None = 1
no geometry
Since version 1.
HorizontalRgb = 2
horizontal RGB
Since version 1.
HorizontalBgr = 3
horizontal BGR
Since version 1.
VerticalRgb = 4
vertical RGB
Since version 1.
VerticalBgr = 5
vertical BGR
Since version 1.
Trait Implementations§
source§impl PartialEq for Subpixel
impl PartialEq for Subpixel
impl Copy for Subpixel
impl Eq for Subpixel
impl StructuralEq for Subpixel
impl StructuralPartialEq for Subpixel
Auto Trait Implementations§
impl RefUnwindSafe for Subpixel
impl Send for Subpixel
impl Sync for Subpixel
impl Unpin for Subpixel
impl UnwindSafe for Subpixel
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