pub enum SelectedLigCaretList<'a> {
Original(LigCaretList<'a>),
Extended(LigCaretList2<'a>),
}Expand description
LigCaretList or LigCaretList2, selected by the GDEF header.
Variants§
Original(LigCaretList<'a>)
A LigCaretList, with 16-bit offsets.
Extended(LigCaretList2<'a>)
A LigCaretList2, with 24-bit offsets.
Implementations§
Source§impl<'a> SelectedLigCaretList<'a>
impl<'a> SelectedLigCaretList<'a>
Sourcepub fn coverage(&self) -> Result<CoverageTable<'a>, ReadError>
pub fn coverage(&self) -> Result<CoverageTable<'a>, ReadError>
Returns the coverage of the ligature glyphs.
Sourcepub fn lig_glyph_count(&self) -> u32
pub fn lig_glyph_count(&self) -> u32
Returns the number of ligature glyphs.
Sourcepub fn lig_glyphs(&self) -> LayoutOffsetArray<'a, LigGlyph<'a>>
pub fn lig_glyphs(&self) -> LayoutOffsetArray<'a, LigGlyph<'a>>
Returns the caret tables of the ligature glyphs, in coverage order.
Trait Implementations§
Source§impl<'a> Clone for SelectedLigCaretList<'a>
impl<'a> Clone for SelectedLigCaretList<'a>
Source§fn clone(&self) -> SelectedLigCaretList<'a>
fn clone(&self) -> SelectedLigCaretList<'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 moreAuto Trait Implementations§
impl<'a> Freeze for SelectedLigCaretList<'a>
impl<'a> RefUnwindSafe for SelectedLigCaretList<'a>
impl<'a> Send for SelectedLigCaretList<'a>
impl<'a> Sync for SelectedLigCaretList<'a>
impl<'a> Unpin for SelectedLigCaretList<'a>
impl<'a> UnsafeUnpin for SelectedLigCaretList<'a>
impl<'a> UnwindSafe for SelectedLigCaretList<'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