Struct nannou::ui::backend::glium::glium::Rect [−][src]
Area of a surface in pixels.
In the OpenGL ecosystem, the (0,0) coordinate is at the bottom-left hand corner of the images.
Fields
left: u32
Number of pixels between the left border of the surface and the left border of the rectangle.
bottom: u32
Number of pixels between the bottom border of the surface and the bottom border of the rectangle.
width: u32
Width of the area in pixels.
height: u32
Height of the area in pixels.
Trait Implementations
impl Clone for Rect
[src]
impl Clone for Rect
fn clone(&self) -> Rect
[src]
fn clone(&self) -> Rect
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Rect
[src]
impl Debug for Rect
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Default for Rect
[src]
impl Default for Rect
impl Copy for Rect
[src]
impl Copy for Rect
impl Eq for Rect
[src]
impl Eq for Rect
impl PartialEq<Rect> for Rect
[src]
impl PartialEq<Rect> for Rect