#[repr(C)]pub struct DeviceMemoryOverallocationCreateInfoAMD {
pub sType: StructureType,
pub pNext: *const c_void,
pub overallocationBehavior: MemoryOverallocationBehaviorAMD,
}Fields§
§sType: StructureType§pNext: *const c_void§overallocationBehavior: MemoryOverallocationBehaviorAMDImplementations§
Source§impl DeviceMemoryOverallocationCreateInfoAMD
impl DeviceMemoryOverallocationCreateInfoAMD
pub fn new() -> Self
pub fn sType(self, sType: StructureType) -> Self
pub fn pNext(self, pNext: *const c_void) -> Self
pub fn overallocationBehavior( self, overallocationBehavior: MemoryOverallocationBehaviorAMD, ) -> Self
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
Auto Trait Implementations§
impl Freeze for DeviceMemoryOverallocationCreateInfoAMD
impl RefUnwindSafe for DeviceMemoryOverallocationCreateInfoAMD
impl !Send for DeviceMemoryOverallocationCreateInfoAMD
impl !Sync for DeviceMemoryOverallocationCreateInfoAMD
impl Unpin 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