pub struct VkSparseImageFormatFlags {
pub single_miptail: bool,
pub aligned_mip_size: bool,
pub nonstandard_block_size: bool,
}
Expand description
Wrapper for VkSparseImageFormatFlags.
Use the macro VkSparseImageFormatFlags!
as an alternative method to create a structure. For example, these two snippets return the same value:
VkSparseImageFormatFlags!(single_miptail, aligned_mip_size)
VkSparseImageFormatFlags {
single_miptail: true,
aligned_mip_size: true,
..VkSparseImageFormatFlags::none()
}
Fields§
§single_miptail: bool
§aligned_mip_size: bool
§nonstandard_block_size: bool
Implementations§
Trait Implementations§
Source§impl Clone for VkSparseImageFormatFlags
impl Clone for VkSparseImageFormatFlags
Source§fn clone(&self) -> VkSparseImageFormatFlags
fn clone(&self) -> VkSparseImageFormatFlags
Returns a duplicate 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 Debug for VkSparseImageFormatFlags
impl Debug for VkSparseImageFormatFlags
Source§impl Default for VkSparseImageFormatFlags
impl Default for VkSparseImageFormatFlags
Source§fn default() -> VkSparseImageFormatFlags
fn default() -> VkSparseImageFormatFlags
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VkSparseImageFormatFlags
impl RefUnwindSafe for VkSparseImageFormatFlags
impl Send for VkSparseImageFormatFlags
impl Sync for VkSparseImageFormatFlags
impl Unpin for VkSparseImageFormatFlags
impl UnwindSafe for VkSparseImageFormatFlags
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