struct LookupLists<'a> {
data: FontData<'a>,
added: BTreeSet<u32>,
}Expand description
The lookup index lists of a FeatureLookups table, each added at most once.
Condition records can share a list, so adding each one per record would let a small table produce an arbitrarily long result.
Fields§
§data: FontData<'a>§added: BTreeSet<u32>Implementations§
Source§impl<'a> LookupLists<'a>
impl<'a> LookupLists<'a>
fn new(table: &FeatureLookups<'a>) -> Self
Sourcefn extend(&mut self, record: &LookupConditionRecord, lookups: &mut Vec<u16>)
fn extend(&mut self, record: &LookupConditionRecord, lookups: &mut Vec<u16>)
Appends the lookups of a condition record, skipping a missing, truncated or already added list.
Auto Trait Implementations§
impl<'a> Freeze for LookupLists<'a>
impl<'a> RefUnwindSafe for LookupLists<'a>
impl<'a> Send for LookupLists<'a>
impl<'a> Sync for LookupLists<'a>
impl<'a> Unpin for LookupLists<'a>
impl<'a> UnsafeUnpin for LookupLists<'a>
impl<'a> UnwindSafe for LookupLists<'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