Enum webrender_api::font::FontLCDFilter
source · #[repr(u8)]pub enum FontLCDFilter {
None = 0,
Default = 1,
Light = 2,
Legacy = 3,
}
Variants§
Trait Implementations§
source§impl Clone for FontLCDFilter
impl Clone for FontLCDFilter
source§fn clone(&self) -> FontLCDFilter
fn clone(&self) -> FontLCDFilter
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 FontLCDFilter
impl Debug for FontLCDFilter
source§impl<'de> Deserialize<'de> for FontLCDFilter
impl<'de> Deserialize<'de> for FontLCDFilter
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 FontLCDFilter
impl Hash for FontLCDFilter
source§impl MallocSizeOf for FontLCDFilter
impl MallocSizeOf for FontLCDFilter
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 FontLCDFilter
impl Ord for FontLCDFilter
source§fn cmp(&self, other: &FontLCDFilter) -> Ordering
fn cmp(&self, other: &FontLCDFilter) -> 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 FontLCDFilter
impl PartialEq for FontLCDFilter
source§impl PartialOrd for FontLCDFilter
impl PartialOrd for FontLCDFilter
source§impl Serialize for FontLCDFilter
impl Serialize for FontLCDFilter
impl Copy for FontLCDFilter
impl Eq for FontLCDFilter
impl StructuralPartialEq for FontLCDFilter
Auto Trait Implementations§
impl Freeze for FontLCDFilter
impl RefUnwindSafe for FontLCDFilter
impl Send for FontLCDFilter
impl Sync for FontLCDFilter
impl Unpin for FontLCDFilter
impl UnwindSafe for FontLCDFilter
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)