#[repr(transparent)]pub struct SystemAllocationScope(_);Expand description
Implementations
sourceimpl SystemAllocationScope
impl SystemAllocationScope
pub const COMMAND: SystemAllocationScope = Self(0)
pub const OBJECT: SystemAllocationScope = Self(1)
pub const CACHE: SystemAllocationScope = Self(2)
pub const DEVICE: SystemAllocationScope = Self(3)
pub const INSTANCE: SystemAllocationScope = Self(4)
Trait Implementations
sourceimpl Clone for SystemAllocationScope
impl Clone for SystemAllocationScope
sourcefn clone(&self) -> SystemAllocationScope
fn clone(&self) -> SystemAllocationScope
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 more
sourceimpl Debug for SystemAllocationScope
impl Debug for SystemAllocationScope
sourceimpl Default for SystemAllocationScope
impl Default for SystemAllocationScope
sourcefn default() -> SystemAllocationScope
fn default() -> SystemAllocationScope
Returns the “default value” for a type. Read more
sourceimpl Hash for SystemAllocationScope
impl Hash for SystemAllocationScope
sourceimpl Ord for SystemAllocationScope
impl Ord for SystemAllocationScope
sourceimpl PartialEq<SystemAllocationScope> for SystemAllocationScope
impl PartialEq<SystemAllocationScope> for SystemAllocationScope
sourcefn eq(&self, other: &SystemAllocationScope) -> bool
fn eq(&self, other: &SystemAllocationScope) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SystemAllocationScope) -> bool
fn ne(&self, other: &SystemAllocationScope) -> bool
This method tests for !=.
sourceimpl PartialOrd<SystemAllocationScope> for SystemAllocationScope
impl PartialOrd<SystemAllocationScope> for SystemAllocationScope
sourcefn partial_cmp(&self, other: &SystemAllocationScope) -> Option<Ordering>
fn partial_cmp(&self, other: &SystemAllocationScope) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
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 more
impl Copy for SystemAllocationScope
impl Eq for SystemAllocationScope
impl StructuralEq for SystemAllocationScope
impl StructuralPartialEq for SystemAllocationScope
Auto Trait Implementations
impl RefUnwindSafe for SystemAllocationScope
impl Send for SystemAllocationScope
impl Sync for SystemAllocationScope
impl Unpin for SystemAllocationScope
impl UnwindSafe for SystemAllocationScope
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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