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: CompositeGlyphFlagsComponent flags.
glyph: GlyphId16Glyph identifier.
anchor: AnchorAnchor for component placement.
transform: TransformComponent 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