pub(crate) struct CffFont<'a>(pub(crate) Option<CffFontRef<'a>>);Expand description
Charstring outlines from the CFF table.
This is separate from Cff2Font so that a caller can choose either
table when a font has both.
Tuple Fields§
§0: Option<CffFontRef<'a>>Implementations§
Trait Implementations§
Source§impl<'yoke> Yokeable<'yoke> for CffFont<'static>
impl<'yoke> Yokeable<'yoke> for CffFont<'static>
Source§type Output = CffFont<'yoke>
type Output = CffFont<'yoke>
This type MUST be
Self with the 'static replaced with 'a, i.e. Self<'a>Source§fn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
Auto Trait Implementations§
impl<'a> Freeze for CffFont<'a>
impl<'a> RefUnwindSafe for CffFont<'a>
impl<'a> Send for CffFont<'a>
impl<'a> Sync for CffFont<'a>
impl<'a> Unpin for CffFont<'a>
impl<'a> UnsafeUnpin for CffFont<'a>
impl<'a> UnwindSafe for CffFont<'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