Struct vulkano::image::ImageSubresourceLayers
source · [−]pub struct ImageSubresourceLayers {
pub aspects: ImageAspects,
pub mip_level: u32,
pub array_layers: Range<u32>,
}
Expand description
One or more subresources of an image, spanning a single mip level, that should be accessed by a command.
Fields
aspects: ImageAspects
Selects the aspects that will be included.
The value must not be empty, and must not include any of the memory_plane
aspects.
The color
aspect cannot be selected together any of with the plane
aspects.
mip_level: u32
Selects mip level that will be included.
array_layers: Range<u32>
Selects the range of array layers that will be included.
The range must not be empty.
Trait Implementations
sourceimpl Clone for ImageSubresourceLayers
impl Clone for ImageSubresourceLayers
sourcefn clone(&self) -> ImageSubresourceLayers
fn clone(&self) -> ImageSubresourceLayers
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ImageSubresourceLayers
impl Debug for ImageSubresourceLayers
sourceimpl From<ImageSubresourceLayers> for ImageSubresourceLayers
impl From<ImageSubresourceLayers> for ImageSubresourceLayers
sourcefn from(val: ImageSubresourceLayers) -> Self
fn from(val: ImageSubresourceLayers) -> Self
Converts to this type from the input type.
sourceimpl From<ImageSubresourceLayers> for ImageSubresourceRange
impl From<ImageSubresourceLayers> for ImageSubresourceRange
sourcefn from(val: ImageSubresourceLayers) -> Self
fn from(val: ImageSubresourceLayers) -> Self
Converts to this type from the input type.
sourceimpl Hash for ImageSubresourceLayers
impl Hash for ImageSubresourceLayers
sourceimpl PartialEq<ImageSubresourceLayers> for ImageSubresourceLayers
impl PartialEq<ImageSubresourceLayers> for ImageSubresourceLayers
sourcefn eq(&self, other: &ImageSubresourceLayers) -> bool
fn eq(&self, other: &ImageSubresourceLayers) -> bool
impl Eq for ImageSubresourceLayers
impl StructuralEq for ImageSubresourceLayers
impl StructuralPartialEq for ImageSubresourceLayers
Auto Trait Implementations
impl RefUnwindSafe for ImageSubresourceLayers
impl Send for ImageSubresourceLayers
impl Sync for ImageSubresourceLayers
impl Unpin for ImageSubresourceLayers
impl UnwindSafe for ImageSubresourceLayers
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more