#[repr(C)]pub struct VkPhysicalDeviceSparseImageFormatInfo2KHR {
pub sType: VkStructureType,
pub pNext: *const c_void,
pub format: VkFormat,
pub type: VkImageType,
pub samples: VkSampleCountFlagBits,
pub usage: VkImageUsageFlags,
pub tiling: VkImageTiling,
}Fields§
§sType: VkStructureType§pNext: *const c_void§format: VkFormat§type: VkImageType§samples: VkSampleCountFlagBits§usage: VkImageUsageFlags§tiling: VkImageTilingTrait Implementations§
Source§impl Clone for VkPhysicalDeviceSparseImageFormatInfo2KHR
impl Clone for VkPhysicalDeviceSparseImageFormatInfo2KHR
Source§fn clone(&self) -> VkPhysicalDeviceSparseImageFormatInfo2KHR
fn clone(&self) -> VkPhysicalDeviceSparseImageFormatInfo2KHR
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl TypedVulkanStructure for VkPhysicalDeviceSparseImageFormatInfo2KHR
Available on crate feature VK_KHR_get_physical_device_properties2 only.
impl TypedVulkanStructure for VkPhysicalDeviceSparseImageFormatInfo2KHR
Available on crate feature
VK_KHR_get_physical_device_properties2 only.Source§const TYPE: VkStructureType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR
const TYPE: VkStructureType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR
sType of this structure
Source§fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>where
Self: Sized,
fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>where
Self: Sized,
Cast structure ref only if sType matches
Source§impl VulkanStructure for VkPhysicalDeviceSparseImageFormatInfo2KHR
Available on crate feature VK_KHR_get_physical_device_properties2 only.
impl VulkanStructure for VkPhysicalDeviceSparseImageFormatInfo2KHR
Available on crate feature
VK_KHR_get_physical_device_properties2 only.Source§fn as_generic(&self) -> &GenericVulkanStructure
fn as_generic(&self) -> &GenericVulkanStructure
Cast structure ref to generic. This is same as transmute but must be safe.
Source§fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
Cast structure mutable ref to generic. This is same as transmute but must be safe.
Auto Trait Implementations§
impl Freeze for VkPhysicalDeviceSparseImageFormatInfo2KHR
impl RefUnwindSafe for VkPhysicalDeviceSparseImageFormatInfo2KHR
impl !Send for VkPhysicalDeviceSparseImageFormatInfo2KHR
impl !Sync for VkPhysicalDeviceSparseImageFormatInfo2KHR
impl Unpin for VkPhysicalDeviceSparseImageFormatInfo2KHR
impl UnsafeUnpin for VkPhysicalDeviceSparseImageFormatInfo2KHR
impl UnwindSafe for VkPhysicalDeviceSparseImageFormatInfo2KHR
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