pub struct Glyph {
pub name: SmolStr,
pub export: bool,
pub layers: Vec<Layer>,
pub bracket_layers: Vec<Layer>,
pub unicode: BTreeSet<u32>,
pub left_kern: Option<SmolStr>,
pub right_kern: Option<SmolStr>,
pub category: Option<Category>,
pub sub_category: Option<Subcategory>,
pub production_name: Option<SmolStr>,
pub smart_component_axes: BTreeMap<SmolStr, RangeInclusive<i64>>,
}Fields§
§name: SmolStr§export: bool§layers: Vec<Layer>§bracket_layers: Vec<Layer>§unicode: BTreeSet<u32>§left_kern: Option<SmolStr>The left kerning group
right_kern: Option<SmolStr>The right kerning group
category: Option<Category>§sub_category: Option<Subcategory>§production_name: Option<SmolStr>§smart_component_axes: BTreeMap<SmolStr, RangeInclusive<i64>>If this is a smart component, these are the axe names -> user coords
Implementations§
Trait Implementations§
Source§impl CompositeLike for Glyph
impl CompositeLike for Glyph
impl StructuralPartialEq for Glyph
Auto Trait Implementations§
impl Freeze for Glyph
impl RefUnwindSafe for Glyph
impl Send for Glyph
impl Sync for Glyph
impl Unpin for Glyph
impl UnwindSafe for Glyph
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§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.