pub struct Opts { /* private fields */ }
Expand description
Options for configuring compilation behaviour.
Implementations§
Source§impl Opts
impl Opts
Sourcepub fn make_post_table(self, flag: bool) -> Self
pub fn make_post_table(self, flag: bool) -> Self
If true
, we will generate a post table from the glyph map.
Sourcepub fn max_error_messages(self, max_n_errors: usize) -> Self
pub fn max_error_messages(self, max_n_errors: usize) -> Self
Specify the number of errors to print when printing a DiagnosticSet
.
Default is some arbitrary ‘reasonable’ number (currently 100.) To
suppress errors, pass 0
. For ‘all errors’, pass usize::MAX
.
Sourcepub fn compile_gpos(self, flag: bool) -> Self
pub fn compile_gpos(self, flag: bool) -> Self
Specify whether or not we should compile the GPOS table. Default is true
.
Sourcepub fn compile_gsub(self, flag: bool) -> Self
pub fn compile_gsub(self, flag: bool) -> Self
Specify whether or not we should compile the GSUB table. Default is true
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Opts
impl RefUnwindSafe for Opts
impl Send for Opts
impl Sync for Opts
impl Unpin for Opts
impl UnwindSafe for Opts
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§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T
, using the provided data to resolve any offsets.