Struct erupt::extensions::amd_memory_overallocation_behavior::MemoryOverallocationBehaviorAMD
source · #[repr(transparent)]pub struct MemoryOverallocationBehaviorAMD(pub i32);
Expand description
Vulkan Manual Page · Enum
Tuple Fields
0: i32
Implementations
sourceimpl MemoryOverallocationBehaviorAMD
impl MemoryOverallocationBehaviorAMD
pub const DEFAULT_AMD: Self = _
pub const ALLOWED_AMD: Self = _
pub const DISALLOWED_AMD: Self = _
Trait Implementations
sourceimpl Clone for MemoryOverallocationBehaviorAMD
impl Clone for MemoryOverallocationBehaviorAMD
sourcefn clone(&self) -> MemoryOverallocationBehaviorAMD
fn clone(&self) -> MemoryOverallocationBehaviorAMD
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for MemoryOverallocationBehaviorAMD
impl Default for MemoryOverallocationBehaviorAMD
sourcefn default() -> MemoryOverallocationBehaviorAMD
fn default() -> MemoryOverallocationBehaviorAMD
Returns the “default value” for a type. Read more
sourceimpl Ord for MemoryOverallocationBehaviorAMD
impl Ord for MemoryOverallocationBehaviorAMD
sourcefn cmp(&self, other: &MemoryOverallocationBehaviorAMD) -> Ordering
fn cmp(&self, other: &MemoryOverallocationBehaviorAMD) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<MemoryOverallocationBehaviorAMD> for MemoryOverallocationBehaviorAMD
impl PartialEq<MemoryOverallocationBehaviorAMD> for MemoryOverallocationBehaviorAMD
sourcefn eq(&self, other: &MemoryOverallocationBehaviorAMD) -> bool
fn eq(&self, other: &MemoryOverallocationBehaviorAMD) -> bool
sourceimpl PartialOrd<MemoryOverallocationBehaviorAMD> for MemoryOverallocationBehaviorAMD
impl PartialOrd<MemoryOverallocationBehaviorAMD> for MemoryOverallocationBehaviorAMD
sourcefn partial_cmp(
&self,
other: &MemoryOverallocationBehaviorAMD
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &MemoryOverallocationBehaviorAMD
) -> Option<Ordering>
1.0.0 · sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more