Struct truetype::glyph_data::ComponentFlags
source · pub struct ComponentFlags(pub u16);
Expand description
Component flags.
Tuple Fields§
§0: u16
Implementations§
source§impl ComponentFlags
impl ComponentFlags
pub fn are_arguments_words(&self) -> bool
pub fn are_arguments_xy(&self) -> bool
pub fn should_round_xy_to_grid(&self) -> bool
pub fn has_scalar_scale(&self) -> bool
pub fn has_more_components(&self) -> bool
pub fn has_vector_scale(&self) -> bool
pub fn has_matrix_scale(&self) -> bool
pub fn has_instructions(&self) -> bool
pub fn should_use_metrics(&self) -> bool
pub fn has_overlap(&self) -> bool
pub fn is_offset_scaled(&self) -> bool
pub fn is_offset_unscaled(&self) -> bool
pub fn is_invalid(&self) -> bool
Trait Implementations§
source§impl Clone for ComponentFlags
impl Clone for ComponentFlags
source§fn clone(&self) -> ComponentFlags
fn clone(&self) -> ComponentFlags
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 ComponentFlags
impl Debug for ComponentFlags
source§impl Default for ComponentFlags
impl Default for ComponentFlags
source§fn default() -> ComponentFlags
fn default() -> ComponentFlags
Returns the “default value” for a type. Read more
source§impl Display for ComponentFlags
impl Display for ComponentFlags
source§impl From<ComponentFlags> for u16
impl From<ComponentFlags> for u16
source§fn from(flags: ComponentFlags) -> u16
fn from(flags: ComponentFlags) -> u16
Converts to this type from the input type.