pub(crate) struct OtShapeContext<'a, 'u> {
pub plan: &'a hb_ot_shape_plan_t,
pub face: &'a hb_font_t<'a>,
pub buffer: &'a mut hb_buffer_t,
pub features: &'a [Feature],
pub target_direction: Direction,
pub point_size: Option<f32>,
pub font_funcs: &'a mut FontFuncsDispatch<'a, 'u>,
}Fields§
§plan: &'a hb_ot_shape_plan_t§face: &'a hb_font_t<'a>§buffer: &'a mut hb_buffer_t§features: &'a [Feature]§target_direction: Direction§point_size: Option<f32>§font_funcs: &'a mut FontFuncsDispatch<'a, 'u>Implementations§
Source§impl OtShapeContext<'_, '_>
impl OtShapeContext<'_, '_>
fn glyph_h_advances(&mut self)
pub(crate) fn shape_internal(&mut self)
fn substitute_pre(&mut self)
fn substitute_post(&mut self)
fn substitute_default(&mut self)
fn substitute_plan(&mut self)
fn position(&mut self)
fn position_default(&mut self)
fn position_plan(&mut self)
fn position_by_plan(&mut self)
fn initialize_masks(&mut self)
fn setup_masks(&mut self)
fn setup_masks_fraction(&mut self)
fn set_unicode_props(&mut self)
fn insert_dotted_circle(&mut self)
fn rotate_chars(&mut self)
Auto Trait Implementations§
impl<'a, 'u> Freeze for OtShapeContext<'a, 'u>
impl<'a, 'u> !RefUnwindSafe for OtShapeContext<'a, 'u>
impl<'a, 'u> !Send for OtShapeContext<'a, 'u>
impl<'a, 'u> !Sync for OtShapeContext<'a, 'u>
impl<'a, 'u> Unpin for OtShapeContext<'a, 'u>
impl<'a, 'u> UnsafeUnpin for OtShapeContext<'a, 'u>
impl<'a, 'u> !UnwindSafe for OtShapeContext<'a, 'u>
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