#[repr(transparent)]pub struct SparseImageMemoryRequirementsBuilder { /* private fields */ }
Expand description
A builder for a SparseImageMemoryRequirements
.
Implementations§
source§impl SparseImageMemoryRequirementsBuilder
impl SparseImageMemoryRequirementsBuilder
pub fn format_properties( self, format_properties: impl Cast<Target = SparseImageFormatProperties> ) -> Self
pub fn image_mip_tail_first_lod(self, image_mip_tail_first_lod: u32) -> Self
pub fn image_mip_tail_size(self, image_mip_tail_size: DeviceSize) -> Self
pub fn image_mip_tail_offset(self, image_mip_tail_offset: DeviceSize) -> Self
pub fn image_mip_tail_stride(self, image_mip_tail_stride: DeviceSize) -> Self
pub fn build(self) -> SparseImageMemoryRequirements
Trait Implementations§
source§impl Cast for SparseImageMemoryRequirementsBuilder
impl Cast for SparseImageMemoryRequirementsBuilder
§type Target = SparseImageMemoryRequirements
type Target = SparseImageMemoryRequirements
The other type this type can be used interchangeably with in FFI.
source§impl Clone for SparseImageMemoryRequirementsBuilder
impl Clone for SparseImageMemoryRequirementsBuilder
source§fn clone(&self) -> SparseImageMemoryRequirementsBuilder
fn clone(&self) -> SparseImageMemoryRequirementsBuilder
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 SparseImageMemoryRequirementsBuilder
impl Default for SparseImageMemoryRequirementsBuilder
source§fn default() -> SparseImageMemoryRequirementsBuilder
fn default() -> SparseImageMemoryRequirementsBuilder
Returns the “default value” for a type. Read more
impl Copy for SparseImageMemoryRequirementsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SparseImageMemoryRequirementsBuilder
impl Send for SparseImageMemoryRequirementsBuilder
impl Sync for SparseImageMemoryRequirementsBuilder
impl Unpin for SparseImageMemoryRequirementsBuilder
impl UnwindSafe for SparseImageMemoryRequirementsBuilder
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