Struct gfx_core::state::Offset [] [src]

pub struct Offset(pub i32, pub i32);

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

Trait Implementations

Derived 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

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

impl Hash for Offset

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

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Debug for Offset

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

impl Clone for Offset

fn clone(&self) -> Offset

1.0.0fn clone_from(&mut self, source: &Self)

impl Copy for Offset