Struct webrender_api::font::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§impl PartialOrd for GlyphOptions
impl PartialOrd for GlyphOptions
source§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
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
)