Struct truetype::tables::windows_metrics::EmbeddingFlags
source · pub struct EmbeddingFlags(pub u16);
Expand description
Embedding licensing-rights flags.
Tuple Fields§
§0: u16
Implementations§
source§impl EmbeddingFlags
impl EmbeddingFlags
pub fn has_restricted_license(&self) -> bool
pub fn allows_preview_and_print(&self) -> bool
pub fn allows_editable(&self) -> bool
pub fn forbids_subsetting(&self) -> bool
pub fn is_bitmap_only(&self) -> bool
pub fn is_invalid(&self) -> bool
Trait Implementations§
source§impl Clone for EmbeddingFlags
impl Clone for EmbeddingFlags
source§fn clone(&self) -> EmbeddingFlags
fn clone(&self) -> EmbeddingFlags
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 EmbeddingFlags
impl Debug for EmbeddingFlags
source§impl Default for EmbeddingFlags
impl Default for EmbeddingFlags
source§fn default() -> EmbeddingFlags
fn default() -> EmbeddingFlags
Returns the “default value” for a type. Read more
source§impl Display for EmbeddingFlags
impl Display for EmbeddingFlags
source§impl From<EmbeddingFlags> for u16
impl From<EmbeddingFlags> for u16
source§fn from(flags: EmbeddingFlags) -> u16
fn from(flags: EmbeddingFlags) -> u16
Converts to this type from the input type.
source§impl PartialEq for EmbeddingFlags
impl PartialEq for EmbeddingFlags
source§fn eq(&self, other: &EmbeddingFlags) -> bool
fn eq(&self, other: &EmbeddingFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Read for EmbeddingFlags
impl Read for EmbeddingFlags
impl Copy for EmbeddingFlags
impl Eq for EmbeddingFlags
impl StructuralPartialEq for EmbeddingFlags
Auto Trait Implementations§
impl RefUnwindSafe for EmbeddingFlags
impl Send for EmbeddingFlags
impl Sync for EmbeddingFlags
impl Unpin for EmbeddingFlags
impl UnwindSafe for EmbeddingFlags
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