pub enum OutlineSource {
Varc,
Glyf,
Cff2,
Cff,
Type1,
}Expand description
A table that provides outlines.
Variants§
Varc
Variable composites in VARC.
The components are drawn from one of the other outline sources.
Glyf
TrueType outlines in glyf.
Cff2
Variable PostScript outlines in CFF2.
Cff
PostScript outlines in a CFF table or a standalone CFF font.
Type1
Charstrings of a Type 1 font.
Trait Implementations§
Source§impl Clone for OutlineSource
impl Clone for OutlineSource
Source§fn clone(&self) -> OutlineSource
fn clone(&self) -> OutlineSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OutlineSource
Source§impl Debug for OutlineSource
impl Debug for OutlineSource
impl Eq for OutlineSource
Source§impl From<OutlineSource> for GlyphSource
impl From<OutlineSource> for GlyphSource
Source§fn from(source: OutlineSource) -> Self
fn from(source: OutlineSource) -> Self
Converts to this type from the input type.
Source§impl Hash for OutlineSource
impl Hash for OutlineSource
Source§impl PartialEq for OutlineSource
impl PartialEq for OutlineSource
impl StructuralPartialEq for OutlineSource
Source§impl TryFrom<GlyphSource> for OutlineSource
impl TryFrom<GlyphSource> for OutlineSource
Source§type Error = GlyphSource
type Error = GlyphSource
The original source, which contains no outlines.
Source§fn try_from(source: GlyphSource) -> Result<Self, GlyphSource>
fn try_from(source: GlyphSource) -> Result<Self, GlyphSource>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for OutlineSource
impl RefUnwindSafe for OutlineSource
impl Send for OutlineSource
impl Sync for OutlineSource
impl Unpin for OutlineSource
impl UnsafeUnpin for OutlineSource
impl UnwindSafe for OutlineSource
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