pub struct Component {
pub flags: CompositeGlyphFlags,
pub glyph: GlyphId16,
pub anchor: Anchor,
pub transform: Transform,
}
Expand description
A reference to another glyph. Part of CompositeGlyph.
Fields§
§flags: CompositeGlyphFlags
Component flags.
glyph: GlyphId16
Glyph identifier.
anchor: Anchor
Anchor for component placement.
transform: Transform
Component transformation matrix.
Trait Implementations§
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