Struct vulkanalia::vk::MemoryOverallocationBehaviorAMD
source · #[repr(transparent)]pub struct MemoryOverallocationBehaviorAMD(/* private fields */);
Expand description
Implementations§
source§impl MemoryOverallocationBehaviorAMD
impl MemoryOverallocationBehaviorAMD
pub const DEFAULT: MemoryOverallocationBehaviorAMD = _
pub const ALLOWED: MemoryOverallocationBehaviorAMD = _
pub const DISALLOWED: MemoryOverallocationBehaviorAMD = _
sourcepub const fn from_raw(value: i32) -> MemoryOverallocationBehaviorAMD
pub const fn from_raw(value: i32) -> MemoryOverallocationBehaviorAMD
Constructs an instance of this enum with the supplied underlying value.
Trait Implementations§
source§impl Clone for MemoryOverallocationBehaviorAMD
impl Clone for MemoryOverallocationBehaviorAMD
source§fn clone(&self) -> MemoryOverallocationBehaviorAMD
fn clone(&self) -> MemoryOverallocationBehaviorAMD
Returns a copy 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 MemoryOverallocationBehaviorAMD
impl Default for MemoryOverallocationBehaviorAMD
source§fn default() -> MemoryOverallocationBehaviorAMD
fn default() -> MemoryOverallocationBehaviorAMD
Returns the “default value” for a type. Read more
source§impl Ord for MemoryOverallocationBehaviorAMD
impl Ord for MemoryOverallocationBehaviorAMD
source§fn cmp(&self, other: &MemoryOverallocationBehaviorAMD) -> Ordering
fn cmp(&self, other: &MemoryOverallocationBehaviorAMD) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<MemoryOverallocationBehaviorAMD> for MemoryOverallocationBehaviorAMD
impl PartialEq<MemoryOverallocationBehaviorAMD> for MemoryOverallocationBehaviorAMD
source§fn eq(&self, other: &MemoryOverallocationBehaviorAMD) -> bool
fn eq(&self, other: &MemoryOverallocationBehaviorAMD) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<MemoryOverallocationBehaviorAMD> for MemoryOverallocationBehaviorAMD
impl PartialOrd<MemoryOverallocationBehaviorAMD> for MemoryOverallocationBehaviorAMD
source§fn partial_cmp(
&self,
other: &MemoryOverallocationBehaviorAMD
) -> Option<Ordering>
fn partial_cmp( &self, other: &MemoryOverallocationBehaviorAMD ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for MemoryOverallocationBehaviorAMD
impl Eq for MemoryOverallocationBehaviorAMD
impl StructuralEq for MemoryOverallocationBehaviorAMD
impl StructuralPartialEq for MemoryOverallocationBehaviorAMD
Auto Trait Implementations§
impl RefUnwindSafe for MemoryOverallocationBehaviorAMD
impl Send for MemoryOverallocationBehaviorAMD
impl Sync for MemoryOverallocationBehaviorAMD
impl Unpin 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