pub struct PendingLookup<T> { /* private fields */ }
Expand description
A lookup generated outside of user FEA
This will be merged into any user-provided features during compilation.
Implementations§
Source§impl<T> PendingLookup<T>
impl<T> PendingLookup<T>
Sourcepub fn new(
subtables: Vec<T>,
flags: LookupFlag,
mark_filter_set: Option<GlyphSet>,
) -> Self
pub fn new( subtables: Vec<T>, flags: LookupFlag, mark_filter_set: Option<GlyphSet>, ) -> Self
Create a new lookup.
This can later be added to the feature builder via FeatureBuilder::add_lookup
Sourcepub fn at_front_of_list(self, flag: bool) -> Self
pub fn at_front_of_list(self, flag: bool) -> Self
Builder-style method to mark this lookup as needing to be at the front of the lookup list.
Lookups with this flag set will be ordered first, and will otherwise maintain the order in which they were added.
Sourcepub fn flags(&self) -> LookupFlag
pub fn flags(&self) -> LookupFlag
Return the LookupFlag
for this lookup.
Trait Implementations§
Source§impl<T: Clone> Clone for PendingLookup<T>
impl<T: Clone> Clone for PendingLookup<T>
Source§fn clone(&self) -> PendingLookup<T>
fn clone(&self) -> PendingLookup<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug> Debug for PendingLookup<T>
impl<T: Debug> Debug for PendingLookup<T>
Source§impl<T: Default> Default for PendingLookup<T>
impl<T: Default> Default for PendingLookup<T>
Source§fn default() -> PendingLookup<T>
fn default() -> PendingLookup<T>
Returns the “default value” for a type. Read more
Source§impl<T: PartialEq> PartialEq for PendingLookup<T>
impl<T: PartialEq> PartialEq for PendingLookup<T>
impl<T> StructuralPartialEq for PendingLookup<T>
Auto Trait Implementations§
impl<T> Freeze for PendingLookup<T>
impl<T> RefUnwindSafe for PendingLookup<T>where
T: RefUnwindSafe,
impl<T> Send for PendingLookup<T>where
T: Send,
impl<T> Sync for PendingLookup<T>where
T: Sync,
impl<T> Unpin for PendingLookup<T>where
T: Unpin,
impl<T> UnwindSafe for PendingLookup<T>where
T: UnwindSafe,
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<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.