pub struct MathAssemblyPart {
pub glyph: u32,
pub start_connector: i32,
pub end_connector: i32,
pub full_advance: i32,
pub extender: bool,
}Expand description
One part of an OpenType math glyph assembly, with all measurements in scaled points.
Fields§
§glyph: u32Glyph id for this assembly part.
start_connector: i32Start connector overlap at the leading edge, in scaled points.
end_connector: i32End connector overlap at the trailing edge, in scaled points.
full_advance: i32Full advance along the assembly axis, in scaled points.
extender: boolWhether this part is an extender (repeatable to reach the target size).
Trait Implementations§
Source§impl Clone for MathAssemblyPart
impl Clone for MathAssemblyPart
impl Copy for MathAssemblyPart
Source§impl Debug for MathAssemblyPart
impl Debug for MathAssemblyPart
impl Eq for MathAssemblyPart
Source§impl PartialEq for MathAssemblyPart
impl PartialEq for MathAssemblyPart
impl StructuralPartialEq for MathAssemblyPart
Auto Trait Implementations§
impl Freeze for MathAssemblyPart
impl RefUnwindSafe for MathAssemblyPart
impl Send for MathAssemblyPart
impl Sync for MathAssemblyPart
impl Unpin for MathAssemblyPart
impl UnsafeUnpin for MathAssemblyPart
impl UnwindSafe for MathAssemblyPart
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