Struct truetype::font_header::Flags [] [src]

pub struct Flags(pub u16);

Flags of a font header.

Methods

impl Flags
[src]

fn is_baseline_at_0(&self) -> bool

fn is_left_sidebearing_at_0(&self) -> bool

fn is_invalid(&self) -> bool

Trait Implementations

impl PartialEq for Flags
[src]

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

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

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

This method tests for !=.

impl Eq for Flags
[src]

impl Debug for Flags
[src]

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

Formats the value using the given formatter.

impl Copy for Flags
[src]

impl Clone for Flags
[src]

fn clone(&self) -> Flags

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 Flags
[src]

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

Read a value.