Struct omn_sprites::Region
[−]
[src]
pub struct Region { pub x: i32, pub y: i32, pub width: i32, pub height: i32, }
Fields
x: i32
y: i32
width: i32
height: i32
Trait Implementations
impl Debug for Region
[src]
impl PartialEq for Region
[src]
fn eq(&self, __arg_0: &Region) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Region) -> bool
This method tests for !=
.
impl Clone for Region
[src]
fn clone(&self) -> Region
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