Struct webrender_api::font::FontInstanceOptions
source · #[repr(C)]pub struct FontInstanceOptions {
pub flags: FontInstanceFlags,
pub synthetic_italics: SyntheticItalics,
pub render_mode: FontRenderMode,
pub _padding: u8,
}
Fields§
§flags: FontInstanceFlags
§synthetic_italics: SyntheticItalics
§render_mode: FontRenderMode
§_padding: u8
Trait Implementations§
source§impl Clone for FontInstanceOptions
impl Clone for FontInstanceOptions
source§fn clone(&self) -> FontInstanceOptions
fn clone(&self) -> FontInstanceOptions
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 FontInstanceOptions
impl Debug for FontInstanceOptions
source§impl Default for FontInstanceOptions
impl Default for FontInstanceOptions
source§fn default() -> FontInstanceOptions
fn default() -> FontInstanceOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FontInstanceOptions
impl<'de> Deserialize<'de> for FontInstanceOptions
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 FontInstanceOptions
impl Hash for FontInstanceOptions
source§impl MallocSizeOf for FontInstanceOptions
impl MallocSizeOf for FontInstanceOptions
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 FontInstanceOptions
impl Ord for FontInstanceOptions
source§fn cmp(&self, other: &FontInstanceOptions) -> Ordering
fn cmp(&self, other: &FontInstanceOptions) -> 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 FontInstanceOptions
impl PartialEq for FontInstanceOptions
source§fn eq(&self, other: &FontInstanceOptions) -> bool
fn eq(&self, other: &FontInstanceOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FontInstanceOptions
impl PartialOrd for FontInstanceOptions
source§fn partial_cmp(&self, other: &FontInstanceOptions) -> Option<Ordering>
fn partial_cmp(&self, other: &FontInstanceOptions) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl Serialize for FontInstanceOptions
impl Serialize for FontInstanceOptions
impl Copy for FontInstanceOptions
impl Eq for FontInstanceOptions
impl StructuralPartialEq for FontInstanceOptions
Auto Trait Implementations§
impl Freeze for FontInstanceOptions
impl RefUnwindSafe for FontInstanceOptions
impl Send for FontInstanceOptions
impl Sync for FontInstanceOptions
impl Unpin for FontInstanceOptions
impl UnwindSafe for FontInstanceOptions
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