Struct glium::BlitTarget [] [src]

pub struct BlitTarget {
    pub left: u32,
    pub bottom: u32,
    pub width: i32,
    pub height: i32,
}
[]

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

[]

Number of pixels between the left border of the surface and the left border of the rectangle.

[]

Number of pixels between the bottom border of the surface and the bottom border of the rectangle.

[]

Width of the area in pixels. Can be negative.

[]

Height of the area in pixels. Can be negative.

Trait Implementations

impl Debug for BlitTarget
[src]

[src]
[]

Formats the value using the given formatter.

impl Clone for BlitTarget
[src]

[src]
[]

Returns a copy of the value. Read more

1.0.0
[src]
[]

Performs copy-assignment from source. Read more

impl Copy for BlitTarget
[src]

impl Default for BlitTarget
[src]

[src]
[]

Returns the "default value" for a type. Read more

impl PartialEq for BlitTarget
[src]

[src]
[]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]
[]

This method tests for !=.

impl Eq for BlitTarget
[src]