enum ExtentsSource<'a> {
Bitmap(BitmapStrikes<'a>),
Color(ColorGlyphs<'a>, OutlineGlyphs<'a>),
Varc(OutlineGlyphs<'a>),
Glyf(&'a Glyf<'a>, &'a Loca<'a>),
Cff(&'a CffFontRef<'a>, OutlineSource),
Type1(Type1Instance<'a>),
}Expand description
A table that can measure a glyph’s ink.
Variants§
Bitmap(BitmapStrikes<'a>)
A bitmap table. The strike selected for the size measures every glyph.
Color(ColorGlyphs<'a>, OutlineGlyphs<'a>)
A COLR table of either version.
The outlines provide the clip glyphs.
Varc(OutlineGlyphs<'a>)
A VARC table, used for the glyphs it covers.
Glyf(&'a Glyf<'a>, &'a Loca<'a>)
Cff(&'a CffFontRef<'a>, OutlineSource)
Type1(Type1Instance<'a>)
Trait Implementations§
Source§impl<'a> Clone for ExtentsSource<'a>
impl<'a> Clone for ExtentsSource<'a>
Source§fn clone(&self) -> ExtentsSource<'a>
fn clone(&self) -> ExtentsSource<'a>
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<'a> Copy for ExtentsSource<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ExtentsSource<'a>
impl<'a> !UnwindSafe for ExtentsSource<'a>
impl<'a> Freeze for ExtentsSource<'a>
impl<'a> Send for ExtentsSource<'a>
impl<'a> Sync for ExtentsSource<'a>
impl<'a> Unpin for ExtentsSource<'a>
impl<'a> UnsafeUnpin for ExtentsSource<'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