Struct ash::vk::ImageSubresourceLayersBuilder
source · [−]#[repr(transparent)]pub struct ImageSubresourceLayersBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for ImageSubresourceLayersBuilder<'a>
impl<'a> Deref for ImageSubresourceLayersBuilder<'a>
type Target = ImageSubresourceLayers
type Target = ImageSubresourceLayers
The resulting type after dereferencing.
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more