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