#[repr(C)]pub struct VkPhysicalDeviceMemoryProperties2KHR {
pub sType: VkStructureType,
pub pNext: *mut c_void,
pub memoryProperties: VkPhysicalDeviceMemoryProperties,
}Fields§
§sType: VkStructureType§pNext: *mut c_void§memoryProperties: VkPhysicalDeviceMemoryPropertiesTrait Implementations§
Source§impl Clone for VkPhysicalDeviceMemoryProperties2KHR
impl Clone for VkPhysicalDeviceMemoryProperties2KHR
Source§fn clone(&self) -> VkPhysicalDeviceMemoryProperties2KHR
fn clone(&self) -> VkPhysicalDeviceMemoryProperties2KHR
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 TypedVulkanSinkStructure for VkPhysicalDeviceMemoryProperties2KHR
Available on crate feature VK_KHR_get_physical_device_properties2 only.
impl TypedVulkanSinkStructure for VkPhysicalDeviceMemoryProperties2KHR
Available on crate feature
VK_KHR_get_physical_device_properties2 only.Source§const TYPE: VkStructureType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHR
const TYPE: VkStructureType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHR
sType constant for this structure.Source§fn uninit_sink() -> MaybeUninit<Self>where
Self: Sized,
fn uninit_sink() -> MaybeUninit<Self>where
Self: Sized,
Constructs an uninitialized cell for this structure, that is ready to pass the api
Source§fn try_from_generic(g: &GenericVulkanSinkStructure) -> Option<&Self>where
Self: Sized,
fn try_from_generic(g: &GenericVulkanSinkStructure) -> Option<&Self>where
Self: Sized,
Cast structure ref only if sType matches
Source§impl VulkanSinkStructure for VkPhysicalDeviceMemoryProperties2KHR
Available on crate feature VK_KHR_get_physical_device_properties2 only.
impl VulkanSinkStructure for VkPhysicalDeviceMemoryProperties2KHR
Available on crate feature
VK_KHR_get_physical_device_properties2 only.Source§fn as_generic(&self) -> &GenericVulkanSinkStructure
fn as_generic(&self) -> &GenericVulkanSinkStructure
Cast this structure ref to generic one. This is same as transmute but must be safe.
Source§fn as_generic_mut(&mut self) -> &mut GenericVulkanSinkStructure
fn as_generic_mut(&mut self) -> &mut GenericVulkanSinkStructure
Cast this structure mutable ref to generic one. This is same as transmute but must be safe.
Auto Trait Implementations§
impl Freeze for VkPhysicalDeviceMemoryProperties2KHR
impl RefUnwindSafe for VkPhysicalDeviceMemoryProperties2KHR
impl !Send for VkPhysicalDeviceMemoryProperties2KHR
impl !Sync for VkPhysicalDeviceMemoryProperties2KHR
impl Unpin for VkPhysicalDeviceMemoryProperties2KHR
impl UnsafeUnpin for VkPhysicalDeviceMemoryProperties2KHR
impl UnwindSafe for VkPhysicalDeviceMemoryProperties2KHR
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