pub enum LcdLayout {
Horizontal,
Vertical,
}Expand description
Specifies direction of pixel layout for LCD based subpixel hinting.
Variants§
Horizontal
Subpixels are ordered horizontally.
Corresponds to FT_LOAD_TARGET_LCD in FreeType.
Vertical
Subpixels are ordered vertically.
Corresponds to FT_LOAD_TARGET_LCD_V in FreeType.
Trait Implementations§
source§impl PartialEq for LcdLayout
impl PartialEq for LcdLayout
impl Copy for LcdLayout
impl Eq for LcdLayout
impl StructuralPartialEq for LcdLayout
Auto Trait Implementations§
impl Freeze for LcdLayout
impl RefUnwindSafe for LcdLayout
impl Send for LcdLayout
impl Sync for LcdLayout
impl Unpin for LcdLayout
impl UnwindSafe for LcdLayout
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