Struct gfx_core::state::Offset []

pub struct Offset(pub i32, pub i32);

How to offset vertices in screen space, if at all.

Trait Implementations

impl PartialOrd<Offset> for Offset

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Hash for Offset

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Eq for Offset

impl PartialEq<Offset> for Offset

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

This method tests for !=.

impl Clone for Offset

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Offset

impl Debug for Offset

Formats the value using the given formatter.