#[repr(C)]pub struct DeviceMemoryOverallocationCreateInfoAMD {
pub s_type: StructureType,
pub p_next: *const c_void,
pub overallocation_behavior: MemoryOverallocationBehaviorAMD,
}Expand description
VkDeviceMemoryOverallocationCreateInfoAMD
Provided by VK_AMD_memory_overallocation_behavior.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD.
p_next: *const c_voidOptional, may be null.
overallocation_behavior: MemoryOverallocationBehaviorAMDImplementations§
Source§impl DeviceMemoryOverallocationCreateInfoAMD
impl DeviceMemoryOverallocationCreateInfoAMD
Sourcepub fn builder<'a>() -> DeviceMemoryOverallocationCreateInfoAMDBuilder<'a>
pub fn builder<'a>() -> DeviceMemoryOverallocationCreateInfoAMDBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for DeviceMemoryOverallocationCreateInfoAMD
impl Clone for DeviceMemoryOverallocationCreateInfoAMD
Source§fn clone(&self) -> DeviceMemoryOverallocationCreateInfoAMD
fn clone(&self) -> DeviceMemoryOverallocationCreateInfoAMD
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 DeviceMemoryOverallocationCreateInfoAMD
impl Default for DeviceMemoryOverallocationCreateInfoAMD
Source§fn default() -> DeviceMemoryOverallocationCreateInfoAMD
fn default() -> DeviceMemoryOverallocationCreateInfoAMD
Returns the “default value” for a type. Read more
impl Copy for DeviceMemoryOverallocationCreateInfoAMD
impl ExtendsDeviceCreateInfo for DeviceMemoryOverallocationCreateInfoAMD
Auto Trait Implementations§
impl Freeze for DeviceMemoryOverallocationCreateInfoAMD
impl RefUnwindSafe for DeviceMemoryOverallocationCreateInfoAMD
impl !Send for DeviceMemoryOverallocationCreateInfoAMD
impl !Sync for DeviceMemoryOverallocationCreateInfoAMD
impl Unpin for DeviceMemoryOverallocationCreateInfoAMD
impl UnsafeUnpin for DeviceMemoryOverallocationCreateInfoAMD
impl UnwindSafe for DeviceMemoryOverallocationCreateInfoAMD
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