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 |
pub struct Rect { pub x: u16, pub y: u16, pub w: u16, pub h: u16, }
A screen space rectangle
x | |
y | |
w | |
h |
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
impl Hash for Rect
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
impl Debug for Rect
impl Clone for Rect
fn clone(&self) -> Rect
fn clone_from(&mut self, source: &Self)
impl Copy for Rect