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 Debug for Rect
impl PartialEq for Rect
impl Clone for Rect
fn clone(&self) -> Rect
fn clone_from(&mut self, source: &Self)
impl Copy for Rect
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).