pub struct AatApplyContext<'a> {Show 13 fields
pub plan: &'a hb_ot_shape_plan_t,
pub face: &'a hb_font_t<'a>,
pub scale: Scale,
pub buffer: &'a mut hb_buffer_t,
pub has_glyph_classes: bool,
pub range_flags: Option<&'a [RangeFlags]>,
pub subtable_flags: u32,
pub(crate) buffer_is_reversed: bool,
using_buffer_glyph_set: bool,
pub(crate) first_set: Option<&'a U32Set>,
pub(crate) second_set: Option<&'a U32Set>,
pub(crate) machine_class_cache: Option<&'a hb_cache_core_t<KEY_BITS, VALUE_BITS, CACHE_SIZE, <() as SelectAtomic<STORAGE_BITS>>::Type>>,
pub(crate) start_end_safe_to_break: u64,
}Expand description
HB: hb_aat_apply_context_t
Fields§
§plan: &'a hb_ot_shape_plan_t§face: &'a hb_font_t<'a>§scale: Scale§buffer: &'a mut hb_buffer_t§has_glyph_classes: bool§range_flags: Option<&'a [RangeFlags]>§subtable_flags: u32§buffer_is_reversed: bool§using_buffer_glyph_set: bool§first_set: Option<&'a U32Set>§second_set: Option<&'a U32Set>§machine_class_cache: Option<&'a hb_cache_core_t<KEY_BITS, VALUE_BITS, CACHE_SIZE, <() as SelectAtomic<STORAGE_BITS>>::Type>>§start_end_safe_to_break: u64Implementations§
Source§impl<'a> AatApplyContext<'a>
impl<'a> AatApplyContext<'a>
pub fn new( plan: &'a hb_ot_shape_plan_t, face: &'a hb_font_t<'a>, scale: Scale, buffer: &'a mut hb_buffer_t, ) -> Self
pub(crate) fn scale_x(&self, value: i32) -> i32
pub(crate) fn scale_y(&self, value: i32) -> i32
pub(crate) fn reverse_buffer(&mut self)
pub(crate) fn setup_buffer_glyph_set(&mut self)
pub(crate) fn buffer_intersects_machine(&self) -> bool
pub fn output_glyph(&mut self, glyph: u32)
pub fn replace_glyph(&mut self, glyph: u32)
pub fn delete_glyph(&mut self)
pub fn replace_glyph_inplace(&mut self, i: usize, glyph: u32)
Auto Trait Implementations§
impl<'a> Freeze for AatApplyContext<'a>
impl<'a> !RefUnwindSafe for AatApplyContext<'a>
impl<'a> Send for AatApplyContext<'a>
impl<'a> Sync for AatApplyContext<'a>
impl<'a> Unpin for AatApplyContext<'a>
impl<'a> UnsafeUnpin for AatApplyContext<'a>
impl<'a> !UnwindSafe for AatApplyContext<'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