#[repr(transparent)]pub struct PhysicalDeviceSparseImageFormatInfo2Builder { /* private fields */ }
Expand description
A builder for a PhysicalDeviceSparseImageFormatInfo2
.
Implementations§
source§impl PhysicalDeviceSparseImageFormatInfo2Builder
impl PhysicalDeviceSparseImageFormatInfo2Builder
pub fn format(self, format: Format) -> Self
pub fn type_(self, type_: ImageType) -> Self
pub fn samples(self, samples: SampleCountFlags) -> Self
pub fn usage(self, usage: ImageUsageFlags) -> Self
pub fn tiling(self, tiling: ImageTiling) -> Self
pub fn build(self) -> PhysicalDeviceSparseImageFormatInfo2
Trait Implementations§
source§impl Cast for PhysicalDeviceSparseImageFormatInfo2Builder
impl Cast for PhysicalDeviceSparseImageFormatInfo2Builder
§type Target = PhysicalDeviceSparseImageFormatInfo2
type Target = PhysicalDeviceSparseImageFormatInfo2
The other type this type can be used interchangeably with in FFI.
source§impl Clone for PhysicalDeviceSparseImageFormatInfo2Builder
impl Clone for PhysicalDeviceSparseImageFormatInfo2Builder
source§fn clone(&self) -> PhysicalDeviceSparseImageFormatInfo2Builder
fn clone(&self) -> PhysicalDeviceSparseImageFormatInfo2Builder
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 PhysicalDeviceSparseImageFormatInfo2Builder
impl Default for PhysicalDeviceSparseImageFormatInfo2Builder
source§fn default() -> PhysicalDeviceSparseImageFormatInfo2Builder
fn default() -> PhysicalDeviceSparseImageFormatInfo2Builder
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceSparseImageFormatInfo2Builder
Auto Trait Implementations§
impl RefUnwindSafe for PhysicalDeviceSparseImageFormatInfo2Builder
impl !Send for PhysicalDeviceSparseImageFormatInfo2Builder
impl !Sync for PhysicalDeviceSparseImageFormatInfo2Builder
impl Unpin for PhysicalDeviceSparseImageFormatInfo2Builder
impl UnwindSafe for PhysicalDeviceSparseImageFormatInfo2Builder
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