pub enum LookupId {
Gpos(usize),
Gsub(usize),
ExternalGpos(usize),
ExternalGsub(usize),
ExternalFrontOfList(usize),
Empty,
}
Expand description
IDs assigned to lookups during compilation
Variants§
Gpos(usize)
An id for a GPOS lookup
Gsub(usize)
An id for a GSUB lookup
ExternalGpos(usize)
A temporary ID assigned to a GPOS lookup constructed by the client.
This id will be remapped when the external features are merged into the features generated from the FEA.
ExternalGsub(usize)
Like above, but for GSUB.
ExternalFrontOfList(usize)
A temporary ID assigned to a lookup constructed by the client that should be at the front of the lookup list.
This is required for rvrn feature variations.
Empty
Used when a named lookup block has no rules.
We parse this, but then discard it immediately whenever it is referenced.
Trait Implementations§
Source§impl Ord for LookupId
impl Ord for LookupId
Source§impl PartialOrd for LookupId
impl PartialOrd for LookupId
impl Copy for LookupId
impl Eq for LookupId
impl StructuralPartialEq for LookupId
Auto Trait Implementations§
impl Freeze for LookupId
impl RefUnwindSafe for LookupId
impl Send for LookupId
impl Sync for LookupId
impl Unpin for LookupId
impl UnwindSafe for LookupId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T
, using the provided data to resolve any offsets.