pub struct HintingOptions {
pub engine: Engine,
pub target: Target,
}
Expand description
Configuration settings for a hinting instance.
Fields§
§engine: Engine
Specifies the hinting engine to use.
Defaults to Engine::AutoFallback
.
target: Target
Defines the properties of the intended target of a hinted outline.
Defaults to a target with SmoothMode::Normal
which is equivalent
to FT_RENDER_MODE_NORMAL
in FreeType.
Trait Implementations§
source§impl Clone for HintingOptions
impl Clone for HintingOptions
source§fn clone(&self) -> HintingOptions
fn clone(&self) -> HintingOptions
Returns a copy 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 moresource§impl Debug for HintingOptions
impl Debug for HintingOptions
source§impl Default for HintingOptions
impl Default for HintingOptions
source§fn default() -> HintingOptions
fn default() -> HintingOptions
Returns the “default value” for a type. Read more
source§impl From<Engine> for HintingOptions
impl From<Engine> for HintingOptions
Auto Trait Implementations§
impl Freeze for HintingOptions
impl RefUnwindSafe for HintingOptions
impl Send for HintingOptions
impl Sync for HintingOptions
impl Unpin for HintingOptions
impl UnwindSafe for HintingOptions
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)