Struct nannou::ui::backend::glium::glium::BlitTarget [−][src]
Area of a surface in pixels. Similar to a Rect
except that dimensions can be negative.
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: i32
Width of the area in pixels. Can be negative.
height: i32
Height of the area in pixels. Can be negative.
Trait Implementations
impl Clone for BlitTarget
[src]
impl Clone for BlitTarget
fn clone(&self) -> BlitTarget
[src]
fn clone(&self) -> BlitTarget
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)
Performs copy-assignment from source
. Read more
impl Debug for BlitTarget
[src]
impl Debug for BlitTarget
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 BlitTarget
[src]
impl Default for BlitTarget
fn default() -> BlitTarget
[src]
fn default() -> BlitTarget
Returns the "default value" for a type. Read more
impl Copy for BlitTarget
[src]
impl Copy for BlitTarget
impl Eq for BlitTarget
[src]
impl Eq for BlitTarget
impl PartialEq<BlitTarget> for BlitTarget
[src]
impl PartialEq<BlitTarget> for BlitTarget
fn eq(&self, other: &BlitTarget) -> bool
[src]
fn eq(&self, other: &BlitTarget) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &BlitTarget) -> bool
[src]
fn ne(&self, other: &BlitTarget) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for BlitTarget
impl Send for BlitTarget
impl Sync for BlitTarget
impl Sync for BlitTarget