Struct vulkano::swapchain::RectangleLayer [−][src]
Expand description
Represents a rectangular region on an image layer.
Fields
offset: [i32; 2]
Coordinates in pixels of the top-left hand corner of the rectangle.
extent: [u32; 2]
Dimensions in pixels of the rectangle.
layer: u32
The layer of the image. For images with only one layer, the value of layer must be 0.
Implementations
Returns true if this rectangle layer is compatible with swapchain.
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RectangleLayer
impl Send for RectangleLayer
impl Sync for RectangleLayer
impl Unpin for RectangleLayer
impl UnwindSafe for RectangleLayer
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.