pub struct hb_ot_apply_context_t<'a, 'b> {Show 15 fields
    pub table_index: TableIndex,
    pub face: &'a hb_font_t<'b>,
    pub buffer: &'a mut hb_buffer_t,
    lookup_mask: u32,
    pub per_syllable: bool,
    pub lookup_index: LookupIndex,
    pub lookup_props: u32,
    pub nesting_level_left: usize,
    pub auto_zwnj: bool,
    pub auto_zwj: bool,
    pub random: bool,
    pub random_state: u32,
    pub last_base: i32,
    pub last_base_until: u32,
    pub digest: hb_set_digest_combiner_t<hb_set_digest_bits_pattern_t<4>, hb_set_digest_combiner_t<hb_set_digest_bits_pattern_t<0>, hb_set_digest_bits_pattern_t<9>>>,
}Fields§
§table_index: TableIndex§face: &'a hb_font_t<'b>§buffer: &'a mut hb_buffer_t§lookup_mask: u32§per_syllable: bool§lookup_index: LookupIndex§lookup_props: u32§nesting_level_left: usize§auto_zwnj: bool§auto_zwj: bool§random: bool§random_state: u32§last_base: i32§last_base_until: u32§digest: hb_set_digest_combiner_t<hb_set_digest_bits_pattern_t<4>, hb_set_digest_combiner_t<hb_set_digest_bits_pattern_t<0>, hb_set_digest_bits_pattern_t<9>>>Implementations§
Source§impl<'a, 'b> hb_ot_apply_context_t<'a, 'b>
 
impl<'a, 'b> hb_ot_apply_context_t<'a, 'b>
pub fn new( table_index: TableIndex, face: &'a hb_font_t<'b>, buffer: &'a mut hb_buffer_t, ) -> Self
pub fn random_number(&mut self) -> u32
pub fn set_lookup_mask(&mut self, mask: u32)
pub fn lookup_mask(&self) -> u32
pub fn recurse(&mut self, sub_lookup_index: LookupIndex) -> Option<()>
pub fn check_glyph_property( &self, info: &hb_glyph_info_t, match_props: u32, ) -> bool
fn set_glyph_class( &mut self, glyph_id: GlyphId, class_guess: GlyphPropsFlags, ligature: bool, component: bool, )
pub fn replace_glyph(&mut self, glyph_id: GlyphId)
pub fn replace_glyph_inplace(&mut self, glyph_id: GlyphId)
pub fn replace_glyph_with_ligature( &mut self, glyph_id: GlyphId, class_guess: GlyphPropsFlags, )
pub fn output_glyph_for_component( &mut self, glyph_id: GlyphId, class_guess: GlyphPropsFlags, )
Auto Trait Implementations§
impl<'a, 'b> Freeze for hb_ot_apply_context_t<'a, 'b>
impl<'a, 'b> RefUnwindSafe for hb_ot_apply_context_t<'a, 'b>
impl<'a, 'b> Send for hb_ot_apply_context_t<'a, 'b>
impl<'a, 'b> Sync for hb_ot_apply_context_t<'a, 'b>
impl<'a, 'b> Unpin for hb_ot_apply_context_t<'a, 'b>
impl<'a, 'b> !UnwindSafe for hb_ot_apply_context_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