Struct gfx::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

fn partial_cmp(&self, __arg_0: &Offset) -> Option<Ordering>

fn lt(&self, __arg_0: &Offset) -> bool

fn le(&self, __arg_0: &Offset) -> bool

fn gt(&self, __arg_0: &Offset) -> bool

fn ge(&self, __arg_0: &Offset) -> bool

impl Eq for Offset

impl PartialEq<Offset> for Offset

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

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

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

This method tests for !=.

impl Hash for Offset

fn hash<__H>(&self, __arg_0: &mut __H) where __H: Hasher

impl Debug for Offset

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

Formats the value using the given formatter.

impl Clone for Offset

fn clone(&self) -> Offset

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 Copy for Offset