Struct vulkano::swapchain::RectangleLayer [] [src]

pub struct RectangleLayer {
    pub offset: [i32; 2],
    pub extent: [u32; 2],
    pub layer: u32,
}

Represents a rectangular region on an image layer.

Fields

Coordinates in pixels of the top-left hand corner of the rectangle.

Dimensions in pixels of the rectangle.

The layer of the image. For images with only one layer, the value of layer must be 0.

Methods

impl RectangleLayer
[src]

[src]

Returns true if this rectangle layer is compatible with swapchain.

Trait Implementations

impl Debug for RectangleLayer
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for RectangleLayer
[src]

impl Clone for RectangleLayer
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for RectangleLayer
[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 RectangleLayer
[src]

Auto Trait Implementations