pub struct skipping_iterator_t<'a, 'b> {
ctx: &'a hb_ot_apply_context_t<'a, 'b>,
lookup_props: u32,
ignore_zwnj: bool,
ignore_zwj: bool,
ignore_hidden: bool,
mask: u32,
syllable: u8,
matching: Option<&'a (dyn Fn(GlyphId, u16) -> bool + 'a)>,
buf_len: usize,
glyph_data: u16,
pub(crate) buf_idx: usize,
}
Fields§
§ctx: &'a hb_ot_apply_context_t<'a, 'b>
§lookup_props: u32
§ignore_zwnj: bool
§ignore_zwj: bool
§mask: u32
§syllable: u8
§matching: Option<&'a (dyn Fn(GlyphId, u16) -> bool + 'a)>
§buf_len: usize
§glyph_data: u16
§buf_idx: usize
Implementations§
Source§impl<'a, 'b> skipping_iterator_t<'a, 'b>
impl<'a, 'b> skipping_iterator_t<'a, 'b>
pub fn new( ctx: &'a hb_ot_apply_context_t<'a, 'b>, start_buf_index: usize, context_match: bool, ) -> Self
pub fn set_glyph_data(&mut self, glyph_data: u16)
fn advance_glyph_data(&mut self)
pub fn set_lookup_props(&mut self, lookup_props: u32)
pub fn enable_matching(&mut self, func: &'a (dyn Fn(GlyphId, u16) -> bool + 'a))
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 match_(&self, info: &hb_glyph_info_t) -> match_t
fn may_match(&self, info: &hb_glyph_info_t) -> may_match_t
fn may_skip(&self, info: &hb_glyph_info_t) -> may_skip_t
Auto Trait Implementations§
impl<'a, 'b> Freeze for skipping_iterator_t<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for skipping_iterator_t<'a, 'b>
impl<'a, 'b> !Send for skipping_iterator_t<'a, 'b>
impl<'a, 'b> !Sync for skipping_iterator_t<'a, 'b>
impl<'a, 'b> Unpin for skipping_iterator_t<'a, 'b>
impl<'a, 'b> !UnwindSafe for skipping_iterator_t<'a, 'b>
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