Struct ash::vk::SparseImageFormatPropertiesBuilder
source · [−]#[repr(transparent)]pub struct SparseImageFormatPropertiesBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> SparseImageFormatPropertiesBuilder<'a>
impl<'a> SparseImageFormatPropertiesBuilder<'a>
pub fn aspect_mask(self, aspect_mask: ImageAspectFlags) -> Self
pub fn image_granularity(self, image_granularity: Extent3D) -> Self
pub fn flags(self, flags: SparseImageFormatFlags) -> Self
sourcepub fn build(self) -> SparseImageFormatProperties
pub fn build(self) -> SparseImageFormatProperties
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 SparseImageFormatPropertiesBuilder<'a>
impl<'a> Deref for SparseImageFormatPropertiesBuilder<'a>
type Target = SparseImageFormatProperties
type Target = SparseImageFormatProperties
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for SparseImageFormatPropertiesBuilder<'a>
impl<'a> Send for SparseImageFormatPropertiesBuilder<'a>
impl<'a> Sync for SparseImageFormatPropertiesBuilder<'a>
impl<'a> Unpin for SparseImageFormatPropertiesBuilder<'a>
impl<'a> UnwindSafe for SparseImageFormatPropertiesBuilder<'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