pub(crate) struct HintParams {
pub blues: Blues,
pub family_blues: Blues,
pub other_blues: Blues,
pub family_other_blues: Blues,
pub blue_scale: Fixed,
pub blue_shift: Fixed,
pub blue_fuzz: Fixed,
pub language_group: i32,
}
Expand description
Parameters used to generate the stem and counter zones for the hinting algorithm.
Fields§
§blues: Blues
§family_blues: Blues
§other_blues: Blues
§family_other_blues: Blues
§blue_scale: Fixed
§blue_shift: Fixed
§blue_fuzz: Fixed
§language_group: i32
Trait Implementations§
Source§impl Clone for HintParams
impl Clone for HintParams
Source§fn clone(&self) -> HintParams
fn clone(&self) -> HintParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for HintParams
impl RefUnwindSafe for HintParams
impl Send for HintParams
impl Sync for HintParams
impl Unpin for HintParams
impl UnwindSafe for HintParams
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