pub(crate) struct LookupClosureCtx<'a> {
visited_lookups: IntSet<u16>,
inactive_lookups: IntSet<u16>,
glyph_set: &'a IntSet<GlyphId>,
lookup_count: u16,
nesting_level_left: u8,
lookup_list: &'a LayoutLookupList<'a>,
}
Fields§
§visited_lookups: IntSet<u16>
§inactive_lookups: IntSet<u16>
§glyph_set: &'a IntSet<GlyphId>
§lookup_count: u16
§nesting_level_left: u8
§lookup_list: &'a LayoutLookupList<'a>
Implementations§
Source§impl<'a> LookupClosureCtx<'a>
impl<'a> LookupClosureCtx<'a>
pub(crate) fn new( glyph_set: &'a IntSet<GlyphId>, lookup_list: &'a LayoutLookupList<'_>, ) -> Self
pub(crate) fn visited_lookups(&self) -> &IntSet<u16>
pub(crate) fn inactive_lookups(&self) -> &IntSet<u16>
pub(crate) fn glyphs(&self) -> &IntSet<GlyphId>
pub(crate) fn set_lookup_inactive(&mut self, lookup_index: u16)
pub(crate) fn lookup_limit_exceed(&self) -> bool
pub(crate) fn should_visit_lookup(&mut self, lookup_index: u16) -> bool
pub(crate) fn recurse(&mut self, lookup_index: u16) -> Result<(), ReadError>
Auto Trait Implementations§
impl<'a> !Freeze for LookupClosureCtx<'a>
impl<'a> RefUnwindSafe for LookupClosureCtx<'a>
impl<'a> !Send for LookupClosureCtx<'a>
impl<'a> !Sync for LookupClosureCtx<'a>
impl<'a> Unpin for LookupClosureCtx<'a>
impl<'a> UnwindSafe for LookupClosureCtx<'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