pub struct FontVariant {
pub flags: u32,
pub weight: u32,
pub codepoint_type: CodepointType,
pub image_type: ImageType,
pub fallback_variant: u32,
pub fallback_glyph: u32,
pub metrics: FontMetric,
pub name: String,
pub metadata: String,
pub glyphs: Vec<Glyph>,
pub kern_pairs: Vec<KernPair>,
}Fields§
§flags: u32§weight: u32§codepoint_type: CodepointType§image_type: ImageType§fallback_variant: u32§fallback_glyph: u32§metrics: FontMetric§name: String§metadata: String§glyphs: Vec<Glyph>§kern_pairs: Vec<KernPair>Trait Implementations§
Source§impl Clone for FontVariant
impl Clone for FontVariant
Source§fn clone(&self) -> FontVariant
fn clone(&self) -> FontVariant
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for FontVariant
impl RefUnwindSafe for FontVariant
impl Send for FontVariant
impl Sync for FontVariant
impl Unpin for FontVariant
impl UnwindSafe for FontVariant
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