#[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§
Unknown = 0
unknown geometry,
None = 1
no geometry,
HorizontalRgb = 2
horizontal RGB,
HorizontalBgr = 3
horizontal BGR,
VerticalRgb = 4
vertical RGB,
VerticalBgr = 5
vertical BGR,
Implementations§
Trait Implementations§
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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)