#[repr(u8)]pub enum FontHinting {
None = 0,
Mono = 1,
Light = 2,
Normal = 3,
LCD = 4,
}
Variants§
Trait Implementations§
Source§impl Clone for FontHinting
impl Clone for FontHinting
Source§fn clone(&self) -> FontHinting
fn clone(&self) -> FontHinting
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FontHinting
impl Debug for FontHinting
Source§impl<'de> Deserialize<'de> for FontHinting
impl<'de> Deserialize<'de> for FontHinting
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for FontHinting
impl Hash for FontHinting
Source§impl MallocSizeOf for FontHinting
impl MallocSizeOf for FontHinting
Source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
Source§impl Ord for FontHinting
impl Ord for FontHinting
Source§fn cmp(&self, other: &FontHinting) -> Ordering
fn cmp(&self, other: &FontHinting) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FontHinting
impl PartialEq for FontHinting
Source§impl PartialOrd for FontHinting
impl PartialOrd for FontHinting
Source§impl Serialize for FontHinting
impl Serialize for FontHinting
impl Copy for FontHinting
impl Eq for FontHinting
impl StructuralPartialEq for FontHinting
Auto Trait Implementations§
impl Freeze for FontHinting
impl RefUnwindSafe for FontHinting
impl Send for FontHinting
impl Sync for FontHinting
impl Unpin for FontHinting
impl UnwindSafe for FontHinting
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