Struct ash::vk::ImageSubresourceBuilder
source · pub struct ImageSubresourceBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ImageSubresourceBuilder<'a>
impl<'a> ImageSubresourceBuilder<'a>
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
sourcepub fn build(self) -> ImageSubresource
pub fn build(self) -> ImageSubresource
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 ImageSubresourceBuilder<'a>
impl<'a> Deref for ImageSubresourceBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for ImageSubresourceBuilder<'a>
impl<'a> RefUnwindSafe for ImageSubresourceBuilder<'a>
impl<'a> Send for ImageSubresourceBuilder<'a>
impl<'a> Sync for ImageSubresourceBuilder<'a>
impl<'a> Unpin for ImageSubresourceBuilder<'a>
impl<'a> UnwindSafe for ImageSubresourceBuilder<'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