#[non_exhaustive]pub struct Subpixel(pub u32);Expand description
subpixel geometry information
This enumeration describes how the physical pixels on an output are laid out.
Tuple Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.0: u32Implementations§
Source§impl Subpixel
impl Subpixel
Sourcepub const HorizontalRgb: Self
pub const HorizontalRgb: Self
horizontal RGB
Sourcepub const HorizontalBgr: Self
pub const HorizontalBgr: Self
horizontal BGR
Sourcepub const VerticalRgb: Self
pub const VerticalRgb: Self
vertical RGB
Sourcepub const VerticalBgr: Self
pub const VerticalBgr: Self
vertical BGR
Trait Implementations§
Source§impl Ord for Subpixel
impl Ord for Subpixel
Source§impl PartialOrd for Subpixel
impl PartialOrd for Subpixel
impl Copy for Subpixel
impl Eq for Subpixel
impl StructuralPartialEq for Subpixel
Auto Trait Implementations§
impl Freeze for Subpixel
impl RefUnwindSafe for Subpixel
impl Send for Subpixel
impl Sync for Subpixel
impl Unpin for Subpixel
impl UnsafeUnpin 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