pub struct UsagePermissions {
pub embedding: EmbeddingPermissions,
pub embed_only_bitmaps: bool,
pub allow_subsetting: bool,
/* private fields */
}Expand description
Usage permissions for a font recorded in its OS/2 table.
Fields§
§embedding: EmbeddingPermissionsEmbedding permissions.
embed_only_bitmaps: boolIf set, only bitmap embedding is allowed (as opposed to embedding bitmaps and outlines ordinarily encoded in font glyphs). If the font doesn’t contain bitmaps, no embedding is allowed at all.
allow_subsetting: boolIf set, the font can be subset during embedding.
Trait Implementations§
Source§impl Clone for UsagePermissions
impl Clone for UsagePermissions
Source§fn clone(&self) -> UsagePermissions
fn clone(&self) -> UsagePermissions
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 moreSource§impl Debug for UsagePermissions
impl Debug for UsagePermissions
impl Copy for UsagePermissions
Auto Trait Implementations§
impl Freeze for UsagePermissions
impl RefUnwindSafe for UsagePermissions
impl Send for UsagePermissions
impl Sync for UsagePermissions
impl Unpin for UsagePermissions
impl UnwindSafe for UsagePermissions
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