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 Rectfn partial_cmp(&self, __arg_0: &Rect) -> Option<Ordering>fn lt(&self, __arg_0: &Rect) -> boolfn le(&self, __arg_0: &Rect) -> boolfn gt(&self, __arg_0: &Rect) -> boolfn ge(&self, __arg_0: &Rect) -> boolimpl PartialEq for Rectimpl Hash for Rectfn hash<__H: Hasher>(&self, __arg_0: &mut __H)fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasherimpl Debug for Rectimpl Clone for Rectfn clone(&self) -> Rectfn clone_from(&mut self, source: &Self)impl Copy for Rect