Struct draw_state::target::Rect [] [src]

pub struct Rect {
    pub x: u16,
    pub y: u16,
    pub w: u16,
    pub h: u16,
}

A screen space rectangle

Fields

x
y
w
h

Trait Implementations

Derived Implementations

impl PartialOrd for Rect

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

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

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

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

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

impl PartialEq for Rect

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

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

impl Hash for Rect

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

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

impl Debug for Rect

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

impl Clone for Rect

fn clone(&self) -> Rect

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

impl Copy for Rect