#[repr(C)]pub struct FontInstancePlatformOptions {
pub lcd_filter: FontLCDFilter,
pub hinting: FontHinting,
}Fields
lcd_filter: FontLCDFilterhinting: FontHintingTrait Implementations
sourceimpl Clone for FontInstancePlatformOptions
impl Clone for FontInstancePlatformOptions
sourcefn clone(&self) -> FontInstancePlatformOptions
fn clone(&self) -> FontInstancePlatformOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for FontInstancePlatformOptions
impl Debug for FontInstancePlatformOptions
sourceimpl Default for FontInstancePlatformOptions
impl Default for FontInstancePlatformOptions
sourcefn default() -> FontInstancePlatformOptions
fn default() -> FontInstancePlatformOptions
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for FontInstancePlatformOptions
impl<'de> Deserialize<'de> for FontInstancePlatformOptions
sourcefn 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
sourceimpl Hash for FontInstancePlatformOptions
impl Hash for FontInstancePlatformOptions
sourceimpl Ord for FontInstancePlatformOptions
impl Ord for FontInstancePlatformOptions
sourcefn cmp(&self, other: &FontInstancePlatformOptions) -> Ordering
fn cmp(&self, other: &FontInstancePlatformOptions) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<FontInstancePlatformOptions> for FontInstancePlatformOptions
impl PartialEq<FontInstancePlatformOptions> for FontInstancePlatformOptions
sourcefn eq(&self, other: &FontInstancePlatformOptions) -> bool
fn eq(&self, other: &FontInstancePlatformOptions) -> bool
sourceimpl PartialOrd<FontInstancePlatformOptions> for FontInstancePlatformOptions
impl PartialOrd<FontInstancePlatformOptions> for FontInstancePlatformOptions
sourcefn partial_cmp(&self, other: &FontInstancePlatformOptions) -> Option<Ordering>
fn partial_cmp(&self, other: &FontInstancePlatformOptions) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for FontInstancePlatformOptions
impl Eq for FontInstancePlatformOptions
impl StructuralEq for FontInstancePlatformOptions
impl StructuralPartialEq for FontInstancePlatformOptions
Auto Trait Implementations
impl RefUnwindSafe for FontInstancePlatformOptions
impl Send for FontInstancePlatformOptions
impl Sync for FontInstancePlatformOptions
impl Unpin for FontInstancePlatformOptions
impl UnwindSafe for FontInstancePlatformOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more