Struct ash::vk::ImageSubresourceRange
source · #[repr(C)]pub struct ImageSubresourceRange {
pub aspect_mask: ImageAspectFlags,
pub base_mip_level: u32,
pub level_count: u32,
pub base_array_layer: u32,
pub layer_count: u32,
}
Expand description
Fields§
§aspect_mask: ImageAspectFlags
§base_mip_level: u32
§level_count: u32
§base_array_layer: u32
§layer_count: u32
Implementations§
source§impl ImageSubresourceRange
impl ImageSubresourceRange
pub fn aspect_mask(self, aspect_mask: ImageAspectFlags) -> Self
pub fn base_mip_level(self, base_mip_level: u32) -> Self
pub fn level_count(self, level_count: u32) -> Self
pub fn base_array_layer(self, base_array_layer: u32) -> Self
pub fn layer_count(self, layer_count: u32) -> Self
Trait Implementations§
source§impl Clone for ImageSubresourceRange
impl Clone for ImageSubresourceRange
source§fn clone(&self) -> ImageSubresourceRange
fn clone(&self) -> ImageSubresourceRange
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImageSubresourceRange
impl Debug for ImageSubresourceRange
source§impl Default for ImageSubresourceRange
impl Default for ImageSubresourceRange
source§fn default() -> ImageSubresourceRange
fn default() -> ImageSubresourceRange
Returns the “default value” for a type. Read more
impl Copy for ImageSubresourceRange
Auto Trait Implementations§
impl Freeze for ImageSubresourceRange
impl RefUnwindSafe for ImageSubresourceRange
impl Send for ImageSubresourceRange
impl Sync for ImageSubresourceRange
impl Unpin for ImageSubresourceRange
impl UnwindSafe for ImageSubresourceRange
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