#[repr(u8)]pub enum FontRenderMode {
    Mono = 0,
    Alpha = 1,
    Subpixel = 2,
}Variants§
Implementations§
Source§impl FontRenderMode
 
impl FontRenderMode
pub fn limit_by(self, other: FontRenderMode) -> FontRenderMode
Trait Implementations§
Source§impl Clone for FontRenderMode
 
impl Clone for FontRenderMode
Source§fn clone(&self) -> FontRenderMode
 
fn clone(&self) -> FontRenderMode
Returns a duplicate 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 FontRenderMode
 
impl Debug for FontRenderMode
Source§impl Default for FontRenderMode
 
impl Default for FontRenderMode
Source§impl<'de> Deserialize<'de> for FontRenderMode
 
impl<'de> Deserialize<'de> for FontRenderMode
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 FontRenderMode
 
impl Hash for FontRenderMode
Source§impl MallocSizeOf for FontRenderMode
 
impl MallocSizeOf for FontRenderMode
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 FontRenderMode
 
impl Ord for FontRenderMode
Source§fn cmp(&self, other: &FontRenderMode) -> Ordering
 
fn cmp(&self, other: &FontRenderMode) -> 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 FontRenderMode
 
impl PartialEq for FontRenderMode
Source§impl PartialOrd for FontRenderMode
 
impl PartialOrd for FontRenderMode
Source§impl Peek for FontRenderMode
 
impl Peek for FontRenderMode
Source§impl Poke for FontRenderMode
 
impl Poke for FontRenderMode
Source§impl Serialize for FontRenderMode
 
impl Serialize for FontRenderMode
impl Copy for FontRenderMode
impl Eq for FontRenderMode
impl StructuralPartialEq for FontRenderMode
Auto Trait Implementations§
impl Freeze for FontRenderMode
impl RefUnwindSafe for FontRenderMode
impl Send for FontRenderMode
impl Sync for FontRenderMode
impl Unpin for FontRenderMode
impl UnwindSafe for FontRenderMode
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