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
Source§type Target = PhysicalDeviceSparseImageFormatInfo2
type Target = PhysicalDeviceSparseImageFormatInfo2
The other type this type can be used interchangeably with in FFI.
impl Copy for PhysicalDeviceSparseImageFormatInfo2Builder
Auto Trait Implementations§
impl Forget for PhysicalDeviceSparseImageFormatInfo2Builder
impl Freeze for PhysicalDeviceSparseImageFormatInfo2Builder
impl RefUnwindSafe for PhysicalDeviceSparseImageFormatInfo2Builder
impl Send for PhysicalDeviceSparseImageFormatInfo2Builder
impl Sync for PhysicalDeviceSparseImageFormatInfo2Builder
impl Unpin for PhysicalDeviceSparseImageFormatInfo2Builder
impl UnsafeUnpin 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