Enum truetype::glyph_data::Options [] [src]

pub enum Options {
    None,
    Scalar(q16),
    Vector(q16q16),
    Matrix(q16q16q16q16),
}

Options of a component.

Variants

None

No options.

Scalar(q16)

A scaling coefficient for both coordinates.

Vector(q16q16)

Separate scaling coefficients for the two coordinates.

Matrix(q16q16q16q16)

A 2-by-2 affine transformation matrix.

Trait Implementations

impl PartialEq for Options
[src]

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

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

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

This method tests for !=.

impl Eq for Options
[src]

impl Debug for Options
[src]

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

Formats the value using the given formatter.

impl Copy for Options
[src]

impl Clone for Options
[src]

fn clone(&self) -> Options

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 Walue<u16> for Options
[src]

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

Read a value.