Struct vulkano::swapchain::RectangleLayer [−][src]
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.
Methods
impl RectangleLayer
[src]
impl RectangleLayer
pub fn is_compatible_with<W>(&self, swapchain: &Swapchain<W>) -> bool
[src]
pub fn is_compatible_with<W>(&self, swapchain: &Swapchain<W>) -> bool
Returns true if this rectangle layer is compatible with swapchain.
Trait Implementations
impl Debug for RectangleLayer
[src]
impl Debug for RectangleLayer
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for RectangleLayer
[src]
impl Copy for RectangleLayer
impl Clone for RectangleLayer
[src]
impl Clone for RectangleLayer
fn clone(&self) -> RectangleLayer
[src]
fn clone(&self) -> RectangleLayer
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 PartialEq for RectangleLayer
[src]
impl PartialEq for RectangleLayer
fn eq(&self, other: &RectangleLayer) -> bool
[src]
fn eq(&self, other: &RectangleLayer) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &RectangleLayer) -> bool
[src]
fn ne(&self, other: &RectangleLayer) -> bool
This method tests for !=
.
impl Eq for RectangleLayer
[src]
impl Eq for RectangleLayer
Auto Trait Implementations
impl Send for RectangleLayer
impl Send for RectangleLayer
impl Sync for RectangleLayer
impl Sync for RectangleLayer