Struct vulkanalia::vk::SparseImageFormatPropertiesBuilder
source · pub struct SparseImageFormatPropertiesBuilder { /* private fields */ }
Expand description
A builder for a SparseImageFormatProperties
.
Implementations§
source§impl SparseImageFormatPropertiesBuilder
impl SparseImageFormatPropertiesBuilder
pub fn aspect_mask(self, aspect_mask: ImageAspectFlags) -> Self
pub fn image_granularity( self, image_granularity: impl Cast<Target = Extent3D> ) -> Self
pub fn flags(self, flags: SparseImageFormatFlags) -> Self
pub fn build(self) -> SparseImageFormatProperties
Trait Implementations§
source§impl Cast for SparseImageFormatPropertiesBuilder
impl Cast for SparseImageFormatPropertiesBuilder
§type Target = SparseImageFormatProperties
type Target = SparseImageFormatProperties
The other type this type can be used interchangeably with in FFI.
source§impl Clone for SparseImageFormatPropertiesBuilder
impl Clone for SparseImageFormatPropertiesBuilder
source§fn clone(&self) -> SparseImageFormatPropertiesBuilder
fn clone(&self) -> SparseImageFormatPropertiesBuilder
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 Default for SparseImageFormatPropertiesBuilder
impl Default for SparseImageFormatPropertiesBuilder
source§fn default() -> SparseImageFormatPropertiesBuilder
fn default() -> SparseImageFormatPropertiesBuilder
Returns the “default value” for a type. Read more
impl Copy for SparseImageFormatPropertiesBuilder
Auto Trait Implementations§
impl Freeze for SparseImageFormatPropertiesBuilder
impl RefUnwindSafe for SparseImageFormatPropertiesBuilder
impl Send for SparseImageFormatPropertiesBuilder
impl Sync for SparseImageFormatPropertiesBuilder
impl Unpin for SparseImageFormatPropertiesBuilder
impl UnwindSafe for SparseImageFormatPropertiesBuilder
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