Struct ash::vk::ImageSubresourceLayersBuilder
source · pub struct ImageSubresourceLayersBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ImageSubresourceLayersBuilder<'a>
impl<'a> ImageSubresourceLayersBuilder<'a>
pub fn aspect_mask(self, aspect_mask: ImageAspectFlags) -> Self
pub fn mip_level(self, mip_level: u32) -> Self
pub fn base_array_layer(self, base_array_layer: u32) -> Self
pub fn layer_count(self, layer_count: u32) -> Self
sourcepub fn build(self) -> ImageSubresourceLayers
pub fn build(self) -> ImageSubresourceLayers
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for ImageSubresourceLayersBuilder<'a>
impl<'a> Deref for ImageSubresourceLayersBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for ImageSubresourceLayersBuilder<'a>
impl<'a> RefUnwindSafe for ImageSubresourceLayersBuilder<'a>
impl<'a> Send for ImageSubresourceLayersBuilder<'a>
impl<'a> Sync for ImageSubresourceLayersBuilder<'a>
impl<'a> Unpin for ImageSubresourceLayersBuilder<'a>
impl<'a> UnwindSafe for ImageSubresourceLayersBuilder<'a>
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