#[repr(C)]pub struct PhysicalDeviceMemoryProperties2 {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub memory_properties: PhysicalDeviceMemoryProperties,
}Expand description
VkPhysicalDeviceMemoryProperties2
Provided by VK_BASE_VERSION_1_1.
Returned only*, filled by Vulkan, not constructed by the application.
§Extended By
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2.
p_next: *mut c_voidOptional, may be null.
memory_properties: PhysicalDeviceMemoryPropertiesImplementations§
Source§impl PhysicalDeviceMemoryProperties2
impl PhysicalDeviceMemoryProperties2
Sourcepub fn builder<'a>() -> PhysicalDeviceMemoryProperties2Builder<'a>
pub fn builder<'a>() -> PhysicalDeviceMemoryProperties2Builder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PhysicalDeviceMemoryProperties2
impl Clone for PhysicalDeviceMemoryProperties2
Source§fn clone(&self) -> PhysicalDeviceMemoryProperties2
fn clone(&self) -> PhysicalDeviceMemoryProperties2
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 Default for PhysicalDeviceMemoryProperties2
impl Default for PhysicalDeviceMemoryProperties2
Source§fn default() -> PhysicalDeviceMemoryProperties2
fn default() -> PhysicalDeviceMemoryProperties2
Returns the “default value” for a type. Read more
impl Copy for PhysicalDeviceMemoryProperties2
Auto Trait Implementations§
impl Freeze for PhysicalDeviceMemoryProperties2
impl RefUnwindSafe for PhysicalDeviceMemoryProperties2
impl !Send for PhysicalDeviceMemoryProperties2
impl !Sync for PhysicalDeviceMemoryProperties2
impl Unpin for PhysicalDeviceMemoryProperties2
impl UnsafeUnpin for PhysicalDeviceMemoryProperties2
impl UnwindSafe for PhysicalDeviceMemoryProperties2
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