Struct truetype::glyph_data::ComponentFlags [] [src]

pub struct ComponentFlags(pub u16);

Flags of a component.

Methods

impl ComponentFlags
[src]

fn are_arguments_words(&self) -> bool

fn are_arguments_xy(&self) -> bool

fn should_round_xy_to_grid(&self) -> bool

fn has_scalar_scale(&self) -> bool

fn has_more_components(&self) -> bool

fn has_vector_scale(&self) -> bool

fn has_matrix_scale(&self) -> bool

fn has_instructions(&self) -> bool

fn should_use_metrics(&self) -> bool

fn has_overlap(&self) -> bool

fn is_offset_scaled(&self) -> bool

fn is_offset_unscaled(&self) -> bool

fn is_invalid(&self) -> bool

Trait Implementations

impl PartialEq for ComponentFlags
[src]

fn eq(&self, __arg_0: &ComponentFlags) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &ComponentFlags) -> bool

This method tests for !=.

impl Eq for ComponentFlags
[src]

impl Debug for ComponentFlags
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for ComponentFlags
[src]

impl Clone for ComponentFlags
[src]

fn clone(&self) -> ComponentFlags

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Value for ComponentFlags
[src]

fn read<T: Tape>(tape: &mut T) -> Result<Self>

Read a value.