Struct read_fonts::tables::glyf::Component
source · pub struct Component {
pub flags: CompositeGlyphFlags,
pub glyph: GlyphId,
pub anchor: Anchor,
pub transform: Transform,
}
Expand description
A reference to another glyph. Part of CompositeGlyph.
Fields§
§flags: CompositeGlyphFlags
Component flags.
glyph: GlyphId
Glyph identifier.
anchor: Anchor
Anchor for component placement.
transform: Transform
Component transformation matrix.
Trait Implementations§
source§impl PartialEq for Component
impl PartialEq for Component
impl Eq for Component
impl StructuralPartialEq for Component
Auto Trait Implementations§
impl Freeze for Component
impl RefUnwindSafe for Component
impl Send for Component
impl Sync for Component
impl Unpin for Component
impl UnwindSafe for Component
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