pub enum SubpixelGeometry {
Unknown,
RgbHorizontal,
BgrHorizontal,
RgbVertical,
BgrVertical,
}Expand description
The arrangement of the colour stripes of the pixels of a display, which subpixel (LCD) text antialiasing is rendered for.
Variants§
Unknown
Not known: subpixel text cannot be rendered for the display.
RgbHorizontal
Red, green and blue from left to right.
BgrHorizontal
Blue, green and red from left to right.
RgbVertical
Red, green and blue from top to bottom.
BgrVertical
Blue, green and red from top to bottom.
Trait Implementations§
Source§impl Clone for SubpixelGeometry
impl Clone for SubpixelGeometry
impl Copy for SubpixelGeometry
Source§impl Debug for SubpixelGeometry
impl Debug for SubpixelGeometry
Source§impl Default for SubpixelGeometry
impl Default for SubpixelGeometry
impl Eq for SubpixelGeometry
Source§impl Hash for SubpixelGeometry
impl Hash for SubpixelGeometry
Source§impl PartialEq for SubpixelGeometry
impl PartialEq for SubpixelGeometry
impl StructuralPartialEq for SubpixelGeometry
Auto Trait Implementations§
impl Freeze for SubpixelGeometry
impl RefUnwindSafe for SubpixelGeometry
impl Send for SubpixelGeometry
impl Sync for SubpixelGeometry
impl Unpin for SubpixelGeometry
impl UnsafeUnpin for SubpixelGeometry
impl UnwindSafe for SubpixelGeometry
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more