#[repr(C)]pub struct SparseImageFormatProperties {
pub aspect_mask: ImageAspectFlags,
pub image_granularity: Extent3D,
pub flags: SparseImageFormatFlags,
}Expand description
Native structure VkSparseImageFormatProperties.
Fields§
§aspect_mask: ImageAspectFlagsNative field aspectMask.
image_granularity: Extent3DNative field imageGranularity.
flags: SparseImageFormatFlagsNative field flags.
Implementations§
Source§impl SparseImageFormatProperties
impl SparseImageFormatProperties
Sourcepub fn set_aspect_mask(self, value: ImageAspectFlags) -> Self
pub fn set_aspect_mask(self, value: ImageAspectFlags) -> Self
Set native field aspectMask without native effects.
Sourcepub fn set_image_granularity(self, value: Extent3D) -> Self
pub fn set_image_granularity(self, value: Extent3D) -> Self
Set native field imageGranularity without native effects.
Sourcepub fn set_flags(self, value: SparseImageFormatFlags) -> Self
pub fn set_flags(self, value: SparseImageFormatFlags) -> Self
Set native field flags without native effects.
Trait Implementations§
Source§impl Clone for SparseImageFormatProperties
impl Clone for SparseImageFormatProperties
impl Copy for SparseImageFormatProperties
Auto Trait Implementations§
impl Forget for SparseImageFormatProperties
impl Freeze for SparseImageFormatProperties
impl Move for SparseImageFormatProperties
impl RefUnwindSafe for SparseImageFormatProperties
impl Send for SparseImageFormatProperties
impl Sync for SparseImageFormatProperties
impl Unpin for SparseImageFormatProperties
impl UnsafeUnpin for SparseImageFormatProperties
impl UnwindSafe for SparseImageFormatProperties
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