Struct touptek::Rect
[−]
[src]
#[repr(C)]pub struct Rect { pub left: u32, pub top: u32, pub right: u32, pub bottom: u32, }
Fields
left: u32
top: u32
right: u32
bottom: u32
Trait Implementations
impl Copy for Rect
[src]
impl Clone for Rect
[src]
fn clone(&self) -> Rect
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Rect
[src]
fn eq(&self, __arg_0: &Rect) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Rect) -> bool
This method tests for !=
.