Struct truetype::q16 [] [src]

pub struct q16(pub u16);

A fixed-point number of format Q2.14.

Trait Implementations

impl PartialEq for q16
[src]

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

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

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

This method tests for !=.

impl Eq for q16
[src]

impl Debug for q16
[src]

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

Formats the value using the given formatter.

impl Copy for q16
[src]

impl Clone for q16
[src]

fn clone(&self) -> q16

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

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

Read a value.