pub struct VectorFont {
pub units_per_em: f32,
pub char_code_to_glyph_index_map: Vec<usize>,
pub glyphs: Vec<Glyph>,
/* private fields */
}Expand description
A font.
Fields§
§units_per_em: f32§char_code_to_glyph_index_map: Vec<usize>§glyphs: Vec<Glyph>Trait Implementations§
Source§impl Clone for VectorFont
impl Clone for VectorFont
Source§fn clone(&self) -> VectorFont
fn clone(&self) -> VectorFont
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 moreSource§impl Debug for VectorFont
impl Debug for VectorFont
Source§impl PartialEq for VectorFont
impl PartialEq for VectorFont
impl StructuralPartialEq for VectorFont
Auto Trait Implementations§
impl Freeze for VectorFont
impl RefUnwindSafe for VectorFont
impl Send for VectorFont
impl Sync for VectorFont
impl Unpin for VectorFont
impl UnwindSafe for VectorFont
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