Struct ttf_parser::math::GlyphPart
source · pub struct GlyphPart {
pub glyph_id: GlyphId,
pub start_connector_length: u16,
pub end_connector_length: u16,
pub full_advance: u16,
pub part_flags: PartFlags,
}
Expand description
Details for a glyph part in an assembly.
Fields§
§glyph_id: GlyphId
Glyph ID for the part.
start_connector_length: u16
Lengths of the connectors on the start of the glyph, in font design units.
end_connector_length: u16
Lengths of the connectors on the end of the glyph, in font design units.
full_advance: u16
The full advance of the part, in font design units.
part_flags: PartFlags
Part flags.
Trait Implementations§
impl Copy for GlyphPart
Auto Trait Implementations§
impl RefUnwindSafe for GlyphPart
impl Send for GlyphPart
impl Sync for GlyphPart
impl Unpin for GlyphPart
impl UnwindSafe for GlyphPart
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