Struct cairo::Rectangle
[−]
[src]
#[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 Debug for cairo_rectangle_t
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Copy for cairo_rectangle_t
[src]
impl Clone for cairo_rectangle_t
[src]
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
impl PartialEq<cairo_rectangle_t> for cairo_rectangle_t
[src]
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 !=
.