Struct ttf_parser::opentype_layout::LookupSubtables [−][src]
pub struct LookupSubtables<'a> { /* fields omitted */ }
Expand description
A list of lookup subtables.
Implementations
Parses a subtable at index.
Accepts either
PositioningSubtable
or SubstitutionSubtable
.
Technically, we can enforce it at compile time, but it makes code too convoluted.
pub fn into_iter<T: LookupSubtable<'a>>(self) -> LookupSubtablesIter<'a, T>ⓘNotable traits for LookupSubtablesIter<'a, T>impl<'a, T: LookupSubtable<'a>> Iterator for LookupSubtablesIter<'a, T> type Item = T;
pub fn into_iter<T: LookupSubtable<'a>>(self) -> LookupSubtablesIter<'a, T>ⓘNotable traits for LookupSubtablesIter<'a, T>impl<'a, T: LookupSubtable<'a>> Iterator for LookupSubtablesIter<'a, T> type Item = T;
Notable traits for LookupSubtablesIter<'a, T>
impl<'a, T: LookupSubtable<'a>> Iterator for LookupSubtablesIter<'a, T> type Item = T;
Creates an iterator over subtables.
We cannot use IntoIterator
here, because we have to use user-provided base type.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for LookupSubtables<'a>
impl<'a> Send for LookupSubtables<'a>
impl<'a> Sync for LookupSubtables<'a>
impl<'a> Unpin for LookupSubtables<'a>
impl<'a> UnwindSafe for LookupSubtables<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more