Struct webrender_api::GlyphOptions
source · #[repr(C)]pub struct GlyphOptions {
pub render_mode: FontRenderMode,
pub flags: FontInstanceFlags,
}
Fields§
§render_mode: FontRenderMode
§flags: FontInstanceFlags
Trait Implementations§
source§impl Clone for GlyphOptions
impl Clone for GlyphOptions
source§fn clone(&self) -> GlyphOptions
fn clone(&self) -> GlyphOptions
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 GlyphOptions
impl Debug for GlyphOptions
source§impl Default for GlyphOptions
impl Default for GlyphOptions
source§impl<'de> Deserialize<'de> for GlyphOptions
impl<'de> Deserialize<'de> for GlyphOptions
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 GlyphOptions
impl Hash for GlyphOptions
source§impl Ord for GlyphOptions
impl Ord for GlyphOptions
source§fn cmp(&self, other: &GlyphOptions) -> Ordering
fn cmp(&self, other: &GlyphOptions) -> 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 GlyphOptions
impl PartialEq for GlyphOptions
source§fn eq(&self, other: &GlyphOptions) -> bool
fn eq(&self, other: &GlyphOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GlyphOptions
impl PartialOrd for GlyphOptions
source§fn partial_cmp(&self, other: &GlyphOptions) -> Option<Ordering>
fn partial_cmp(&self, other: &GlyphOptions) -> 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 Peek for GlyphOptions
impl Peek for GlyphOptions
source§impl Poke for GlyphOptions
impl Poke for GlyphOptions
source§impl Serialize for GlyphOptions
impl Serialize for GlyphOptions
impl Copy for GlyphOptions
impl Eq for GlyphOptions
impl StructuralPartialEq for GlyphOptions
Auto Trait Implementations§
impl Freeze for GlyphOptions
impl RefUnwindSafe for GlyphOptions
impl Send for GlyphOptions
impl Sync for GlyphOptions
impl Unpin for GlyphOptions
impl UnwindSafe for GlyphOptions
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