#[repr(transparent)]pub struct MemoryOverallocationBehaviorAMD(pub i32);Expand description
Open integer representation of VkMemoryOverallocationBehaviorAMD.
Tuple Fields§
§0: i32Implementations§
Source§impl MemoryOverallocationBehaviorAMD
impl MemoryOverallocationBehaviorAMD
Sourcepub const DEFAULT_AMD: Self
pub const DEFAULT_AMD: Self
Native value VK_MEMORY_OVERALLOCATION_BEHAVIOR_DEFAULT_AMD.
Khronos reference: VK_MEMORY_OVERALLOCATION_BEHAVIOR_DEFAULT_AMD
Sourcepub const ALLOWED_AMD: Self
pub const ALLOWED_AMD: Self
Native value VK_MEMORY_OVERALLOCATION_BEHAVIOR_ALLOWED_AMD.
Khronos reference: VK_MEMORY_OVERALLOCATION_BEHAVIOR_ALLOWED_AMD
Sourcepub const DISALLOWED_AMD: Self
pub const DISALLOWED_AMD: Self
Native value VK_MEMORY_OVERALLOCATION_BEHAVIOR_DISALLOWED_AMD.
Khronos reference: VK_MEMORY_OVERALLOCATION_BEHAVIOR_DISALLOWED_AMD
pub const fn from_raw(value: i32) -> Self
pub const fn as_raw(self) -> i32
pub const fn empty() -> Self
Trait Implementations§
impl Copy for MemoryOverallocationBehaviorAMD
impl Eq for MemoryOverallocationBehaviorAMD
impl StructuralPartialEq for MemoryOverallocationBehaviorAMD
Auto Trait Implementations§
impl Forget for MemoryOverallocationBehaviorAMD
impl Freeze for MemoryOverallocationBehaviorAMD
impl Move for MemoryOverallocationBehaviorAMD
impl RefUnwindSafe for MemoryOverallocationBehaviorAMD
impl Send for MemoryOverallocationBehaviorAMD
impl Sync for MemoryOverallocationBehaviorAMD
impl Unpin for MemoryOverallocationBehaviorAMD
impl UnsafeUnpin for MemoryOverallocationBehaviorAMD
impl UnwindSafe for MemoryOverallocationBehaviorAMD
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