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