Struct font::Offset [] [src]

pub struct Offset(pub Number, pub Number);

An offset.

Trait Implementations

impl Clone for Offset
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Offset
[src]

impl Debug for Offset
[src]

Formats the value using the given formatter.

impl Default for Offset
[src]

Returns the "default value" for a type. Read more

impl PartialEq for Offset
[src]

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

This method tests for !=.

impl From<f32> for Offset
[src]

Performs the conversion.

impl Div<f32> for Offset
[src]

The resulting type after applying the / operator

The method for the / operator

impl DivAssign<f32> for Offset
[src]

The method for the /= operator

impl Mul<f32> for Offset
[src]

The resulting type after applying the * operator

The method for the * operator

impl MulAssign<f32> for Offset
[src]

The method for the *= operator

impl From<i16> for Offset
[src]

Performs the conversion.

impl Div<i16> for Offset
[src]

The resulting type after applying the / operator

The method for the / operator

impl DivAssign<i16> for Offset
[src]

The method for the /= operator

impl Mul<i16> for Offset
[src]

The resulting type after applying the * operator

The method for the * operator

impl MulAssign<i16> for Offset
[src]

The method for the *= operator

impl From<(f32, f32)> for Offset
[src]

Performs the conversion.

impl From<(i16, i16)> for Offset
[src]

Performs the conversion.

impl<T> Add<T> for Offset where
    T: Into<Offset>, 
[src]

The resulting type after applying the + operator

The method for the + operator

impl<T> AddAssign<T> for Offset where
    T: Into<Offset>, 
[src]

The method for the += operator

impl Neg for Offset
[src]

The resulting type after applying the - operator

The method for the unary - operator

impl<T> Sub<T> for Offset where
    T: Into<Offset>, 
[src]

The resulting type after applying the - operator

The method for the - operator

impl<T> SubAssign<T> for Offset where
    T: Into<Offset>, 
[src]

The method for the -= operator