pub struct EmbeddingOptions {
pub subset: bool,
pub max_subset_size: Option<usize>,
pub compress_font_streams: bool,
pub embed_license_info: bool,
}Expand description
Font embedding options
Fields§
§subset: boolWhether to subset the font
max_subset_size: Option<usize>Maximum number of glyphs in subset
compress_font_streams: boolWhether to compress font streams
embed_license_info: boolWhether to embed font license info
Trait Implementations§
Source§impl Clone for EmbeddingOptions
impl Clone for EmbeddingOptions
Source§fn clone(&self) -> EmbeddingOptions
fn clone(&self) -> EmbeddingOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EmbeddingOptions
impl Debug for EmbeddingOptions
Auto Trait Implementations§
impl Freeze for EmbeddingOptions
impl RefUnwindSafe for EmbeddingOptions
impl Send for EmbeddingOptions
impl Sync for EmbeddingOptions
impl Unpin for EmbeddingOptions
impl UnsafeUnpin for EmbeddingOptions
impl UnwindSafe for EmbeddingOptions
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