Struct webrender_api::font::FontInstancePlatformOptions
source · #[repr(C)]pub struct FontInstancePlatformOptions {
pub lcd_filter: FontLCDFilter,
pub hinting: FontHinting,
}
Fields§
§lcd_filter: FontLCDFilter
§hinting: FontHinting
Trait Implementations§
source§impl Clone for FontInstancePlatformOptions
impl Clone for FontInstancePlatformOptions
source§fn clone(&self) -> FontInstancePlatformOptions
fn clone(&self) -> FontInstancePlatformOptions
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 FontInstancePlatformOptions
impl Debug for FontInstancePlatformOptions
source§impl Default for FontInstancePlatformOptions
impl Default for FontInstancePlatformOptions
source§fn default() -> FontInstancePlatformOptions
fn default() -> FontInstancePlatformOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FontInstancePlatformOptions
impl<'de> Deserialize<'de> for FontInstancePlatformOptions
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 FontInstancePlatformOptions
impl Hash for FontInstancePlatformOptions
source§impl MallocSizeOf for FontInstancePlatformOptions
impl MallocSizeOf for FontInstancePlatformOptions
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 FontInstancePlatformOptions
impl Ord for FontInstancePlatformOptions
source§fn cmp(&self, other: &FontInstancePlatformOptions) -> Ordering
fn cmp(&self, other: &FontInstancePlatformOptions) -> 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 PartialOrd for FontInstancePlatformOptions
impl PartialOrd for FontInstancePlatformOptions
impl Copy for FontInstancePlatformOptions
impl Eq for FontInstancePlatformOptions
impl StructuralPartialEq for FontInstancePlatformOptions
Auto Trait Implementations§
impl Freeze for FontInstancePlatformOptions
impl RefUnwindSafe for FontInstancePlatformOptions
impl Send for FontInstancePlatformOptions
impl Sync for FontInstancePlatformOptions
impl Unpin for FontInstancePlatformOptions
impl UnwindSafe for FontInstancePlatformOptions
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
)