Struct truetype::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<EmbeddingFlags> for EmbeddingFlags
impl PartialEq<EmbeddingFlags> 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 ==
.