#[repr(u8)]pub enum TextHintingMode {
Unspecified = 0,
None = 1,
Light = 2,
Strong = 3,
}Expand description
Specifies how text glyphs are hinted.
Variants§
Unspecified = 0
Hinting mode is not explicitly specified. The hinting mode will be inherited from the parent or defaults will be used.
None = 1
Text is not hinted.
Light = 2
Text is lightly hinted.
Strong = 3
Text is strongly hinted.
Trait Implementations§
Source§impl BatchValue for TextHintingMode
impl BatchValue for TextHintingMode
Source§impl Clone for TextHintingMode
impl Clone for TextHintingMode
impl Copy for TextHintingMode
Source§impl Debug for TextHintingMode
impl Debug for TextHintingMode
Source§impl Default for TextHintingMode
impl Default for TextHintingMode
impl Eq for TextHintingMode
Source§impl Hash for TextHintingMode
impl Hash for TextHintingMode
Source§impl MarkupTyped for TextHintingMode
impl MarkupTyped for TextHintingMode
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for TextHintingMode
impl PartialEq for TextHintingMode
impl StructuralPartialEq for TextHintingMode
Auto Trait Implementations§
impl Freeze for TextHintingMode
impl RefUnwindSafe for TextHintingMode
impl Send for TextHintingMode
impl Sync for TextHintingMode
impl Unpin for TextHintingMode
impl UnsafeUnpin for TextHintingMode
impl UnwindSafe for TextHintingMode
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