pub struct CompoundGlyf {
pub components: Vec<Component>,
}Expand description
A compound glyph outline
Fields§
§components: Vec<Component>The components of the compound glyph
Implementations§
Source§impl CompoundGlyf
impl CompoundGlyf
Sourcepub fn as_simple(&self, glyf_table: &[GlyfOutline]) -> SimpleGlyf
pub fn as_simple(&self, glyf_table: &[GlyfOutline]) -> SimpleGlyf
Converts the compound glyph to a simple glyph by resolving the components
Trait Implementations§
Source§impl Clone for CompoundGlyf
impl Clone for CompoundGlyf
Source§fn clone(&self) -> CompoundGlyf
fn clone(&self) -> CompoundGlyf
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CompoundGlyf
impl Debug for CompoundGlyf
Source§impl Default for CompoundGlyf
impl Default for CompoundGlyf
Source§fn default() -> CompoundGlyf
fn default() -> CompoundGlyf
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CompoundGlyf
impl RefUnwindSafe for CompoundGlyf
impl Send for CompoundGlyf
impl Sync for CompoundGlyf
impl Unpin for CompoundGlyf
impl UnwindSafe for CompoundGlyf
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