#[repr(C)]pub struct ImageSubresourceLayers {
pub aspect_mask: ImageAspectFlags,
pub mip_level: u32,
pub base_array_layer: u32,
pub layer_count: u32,
}Expand description
Chapter: Copy Commands
Description: Structure specifying an image subresource layers
Provided by: VK_VERSION_1_0
Reference: VkImageSubresourceLayers
Initialization template:
let image_subresource_layers = vk::ImageSubresourceLayers {
aspect_mask: todo!("vk::ImageAspectFlagBits"),
mip_level: todo!("u32"),
base_array_layer: todo!("u32"),
layer_count: todo!("u32"),
};Fields§
§aspect_mask: ImageAspectFlags§mip_level: u32§base_array_layer: u32§layer_count: u32Trait Implementations§
Source§impl Clone for ImageSubresourceLayers
impl Clone for ImageSubresourceLayers
Source§fn clone(&self) -> ImageSubresourceLayers
fn clone(&self) -> ImageSubresourceLayers
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ImageSubresourceLayers
Auto Trait Implementations§
impl Freeze for ImageSubresourceLayers
impl RefUnwindSafe for ImageSubresourceLayers
impl Send for ImageSubresourceLayers
impl Sync for ImageSubresourceLayers
impl Unpin for ImageSubresourceLayers
impl UnsafeUnpin for ImageSubresourceLayers
impl UnwindSafe for ImageSubresourceLayers
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more