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
pub const fn from_raw(value: i32) -> MemoryOverallocationBehaviorAMD
pub const fn as_raw(self) -> i32
Trait Implementations§
Source§impl Clone for MemoryOverallocationBehaviorAMD
impl Clone for MemoryOverallocationBehaviorAMD
Source§fn clone(&self) -> MemoryOverallocationBehaviorAMD
fn clone(&self) -> MemoryOverallocationBehaviorAMD
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 MemoryOverallocationBehaviorAMD
impl Default for MemoryOverallocationBehaviorAMD
Source§fn default() -> MemoryOverallocationBehaviorAMD
fn default() -> MemoryOverallocationBehaviorAMD
Returns the “default value” for a type. Read more
Source§impl Error for MemoryOverallocationBehaviorAMD
impl Error for MemoryOverallocationBehaviorAMD
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
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 for MemoryOverallocationBehaviorAMD
impl PartialEq for MemoryOverallocationBehaviorAMD
Source§fn eq(&self, other: &MemoryOverallocationBehaviorAMD) -> bool
fn eq(&self, other: &MemoryOverallocationBehaviorAMD) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MemoryOverallocationBehaviorAMD
impl PartialOrd for MemoryOverallocationBehaviorAMD
impl Copy for MemoryOverallocationBehaviorAMD
impl Eq for MemoryOverallocationBehaviorAMD
impl StructuralPartialEq for MemoryOverallocationBehaviorAMD
Auto Trait Implementations§
impl Freeze 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