#[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