pub struct Composite<'a> {
pub name: Cow<'a, str>,
pub components: Cow<'a, [CompositeComponent<'a>]>,
}Expand description
A CC construction recipe; it does not synthesize outlines or character metrics.
Fields§
§name: Cow<'a, str>Name of the composite glyph.
components: Cow<'a, [CompositeComponent<'a>]>Ordered component names and offsets.
Implementations§
Trait Implementations§
Source§impl<'a> PartialEq for Composite<'a>
impl<'a> PartialEq for Composite<'a>
impl<'a> StructuralPartialEq for Composite<'a>
Auto Trait Implementations§
impl<'a> Freeze for Composite<'a>
impl<'a> RefUnwindSafe for Composite<'a>
impl<'a> Send for Composite<'a>
impl<'a> Sync for Composite<'a>
impl<'a> Unpin for Composite<'a>
impl<'a> UnsafeUnpin for Composite<'a>
impl<'a> UnwindSafe for Composite<'a>
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