pub struct ShapePlan {Show 26 fields
    pub(crate) direction: Direction,
    pub(crate) script: Option<Script>,
    pub(crate) shaper: &'static hb_ot_shaper_t,
    pub(crate) ot_map: hb_ot_map_t,
    pub(crate) data: Option<Box<dyn Any + Send + Sync>>,
    pub(crate) frac_mask: u32,
    pub(crate) numr_mask: u32,
    pub(crate) dnom_mask: u32,
    pub(crate) rtlm_mask: u32,
    pub(crate) kern_mask: u32,
    pub(crate) trak_mask: u32,
    pub(crate) requested_kerning: bool,
    pub(crate) has_frac: bool,
    pub(crate) has_vert: bool,
    pub(crate) has_gpos_mark: bool,
    pub(crate) zero_marks: bool,
    pub(crate) fallback_glyph_classes: bool,
    pub(crate) fallback_mark_positioning: bool,
    pub(crate) adjust_mark_positioning_when_zeroing: bool,
    pub(crate) apply_gpos: bool,
    pub(crate) apply_fallback_kern: bool,
    pub(crate) apply_kern: bool,
    pub(crate) apply_kerx: bool,
    pub(crate) apply_morx: bool,
    pub(crate) apply_trak: bool,
    pub(crate) user_features: Vec<Feature>,
}Expand description
A reusable plan for shaping a text buffer.
Fields§
§direction: Direction§script: Option<Script>§shaper: &'static hb_ot_shaper_t§ot_map: hb_ot_map_t§data: Option<Box<dyn Any + Send + Sync>>§frac_mask: u32§numr_mask: u32§dnom_mask: u32§rtlm_mask: u32§kern_mask: u32§trak_mask: u32§requested_kerning: bool§has_frac: bool§has_vert: bool§has_gpos_mark: bool§zero_marks: bool§fallback_glyph_classes: bool§fallback_mark_positioning: bool§adjust_mark_positioning_when_zeroing: bool§apply_gpos: bool§apply_fallback_kern: bool§apply_kern: bool§apply_kerx: bool§apply_morx: bool§apply_trak: bool§user_features: Vec<Feature>Implementations§
Auto Trait Implementations§
impl Freeze for hb_ot_shape_plan_t
impl !RefUnwindSafe for hb_ot_shape_plan_t
impl Send for hb_ot_shape_plan_t
impl Sync for hb_ot_shape_plan_t
impl Unpin for hb_ot_shape_plan_t
impl !UnwindSafe for hb_ot_shape_plan_t
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