Struct write_fonts::tables::glyf::Component
source · pub struct Component {
pub glyph: GlyphId,
pub anchor: Anchor,
pub flags: ComponentFlags,
pub transform: Transform,
}Expand description
A single component glyph (part of a CompositeGlyph).
Fields§
§glyph: GlyphId§anchor: Anchor§flags: ComponentFlags§transform: TransformImplementations§
Trait Implementations§
Auto Trait Implementations§
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<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere U: FromObjRef<T>,
source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.