pub struct skipping_iterator_t<'f, 'c, F> {
pub(crate) buffer: &'c mut hb_buffer_t,
face: &'c hb_font_t<'f>,
matcher: &'c matcher_t,
match_positions: &'c mut SmallVec<[u32; 8]>,
buf_len: usize,
glyph_data: u32,
pub(crate) buf_idx: usize,
match_func: Option<F>,
lookup_props: u32,
syllable: u8,
}Fields§
§buffer: &'c mut hb_buffer_t§face: &'c hb_font_t<'f>§matcher: &'c matcher_t§match_positions: &'c mut SmallVec<[u32; 8]>§buf_len: usize§glyph_data: u32§buf_idx: usize§match_func: Option<F>§lookup_props: u32§syllable: u8Implementations§
Source§impl<'f, 'c> skipping_iterator_t<'f, 'c, fn(&mut GlyphInfo, u32) -> bool>
impl<'f, 'c> skipping_iterator_t<'f, 'c, fn(&mut GlyphInfo, u32) -> bool>
pub fn new(ctx: &'c mut hb_ot_apply_context_t<'f>, context_match: bool) -> Self
Source§impl<'f, 'c, F> skipping_iterator_t<'f, 'c, F>
impl<'f, 'c, F> skipping_iterator_t<'f, 'c, F>
pub fn with_match_fn( ctx: &'c mut hb_ot_apply_context_t<'f>, context_match: bool, match_fn: Option<F>, ) -> Self
pub fn set_match_position(&mut self, idx: usize, position: usize)
pub fn set_glyph_data(&mut self, glyph_data: u32)
fn advance_glyph_data(&mut self)
pub fn set_lookup_props(&mut self, lookup_props: u32)
pub fn index(&self) -> usize
pub fn next(&mut self, unsafe_to: Option<&mut usize>) -> bool
pub fn prev(&mut self, unsafe_from: Option<&mut usize>) -> bool
pub fn reset(&mut self, start_index: usize)
pub fn reset_back(&mut self, start_index: usize)
pub fn reset_fast(&mut self, start_index: usize)
pub fn may_skip(&self, info: &GlyphInfo) -> may_skip_t
pub fn match_at(&mut self, idx: usize, source: MatchSource) -> match_t
Auto Trait Implementations§
impl<'f, 'c, F> Freeze for skipping_iterator_t<'f, 'c, F>where
F: Freeze,
impl<'f, 'c, F> !RefUnwindSafe for skipping_iterator_t<'f, 'c, F>
impl<'f, 'c, F> Send for skipping_iterator_t<'f, 'c, F>where
F: Send,
impl<'f, 'c, F> Sync for skipping_iterator_t<'f, 'c, F>where
F: Sync,
impl<'f, 'c, F> Unpin for skipping_iterator_t<'f, 'c, F>where
F: Unpin,
impl<'f, 'c, F> UnsafeUnpin for skipping_iterator_t<'f, 'c, F>where
F: UnsafeUnpin,
impl<'f, 'c, F> !UnwindSafe for skipping_iterator_t<'f, 'c, F>
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