Struct read_fonts::tables::glyf::Component
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)