Struct ash::vk::ImageSubresource
source · #[repr(C)]pub struct ImageSubresource {
pub aspect_mask: ImageAspectFlags,
pub mip_level: u32,
pub array_layer: u32,
}
Expand description
Fields§
§aspect_mask: ImageAspectFlags
§mip_level: u32
§array_layer: u32
Implementations§
source§impl ImageSubresource
impl ImageSubresource
pub fn aspect_mask(self, aspect_mask: ImageAspectFlags) -> Self
pub fn mip_level(self, mip_level: u32) -> Self
pub fn array_layer(self, array_layer: u32) -> Self
Trait Implementations§
source§impl Clone for ImageSubresource
impl Clone for ImageSubresource
source§fn clone(&self) -> ImageSubresource
fn clone(&self) -> ImageSubresource
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 ImageSubresource
impl Debug for ImageSubresource
source§impl Default for ImageSubresource
impl Default for ImageSubresource
source§fn default() -> ImageSubresource
fn default() -> ImageSubresource
Returns the “default value” for a type. Read more
impl Copy for ImageSubresource
Auto Trait Implementations§
impl Freeze for ImageSubresource
impl RefUnwindSafe for ImageSubresource
impl Send for ImageSubresource
impl Sync for ImageSubresource
impl Unpin for ImageSubresource
impl UnwindSafe for ImageSubresource
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