pub struct SystemAllocationScope(/* private fields */);Expand description
Implementations§
Source§impl SystemAllocationScope
impl SystemAllocationScope
pub const COMMAND: SystemAllocationScope
pub const OBJECT: SystemAllocationScope
pub const CACHE: SystemAllocationScope
pub const DEVICE: SystemAllocationScope
pub const INSTANCE: SystemAllocationScope
pub const fn from_raw(value: i32) -> SystemAllocationScope
pub const fn as_raw(self) -> i32
Trait Implementations§
Source§impl Clone for SystemAllocationScope
impl Clone for SystemAllocationScope
Source§fn clone(&self) -> SystemAllocationScope
fn clone(&self) -> SystemAllocationScope
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 Debug for SystemAllocationScope
impl Debug for SystemAllocationScope
Source§impl Default for SystemAllocationScope
impl Default for SystemAllocationScope
Source§fn default() -> SystemAllocationScope
fn default() -> SystemAllocationScope
Returns the “default value” for a type. Read more
Source§impl Display for SystemAllocationScope
impl Display for SystemAllocationScope
Source§impl Error for SystemAllocationScope
impl Error for SystemAllocationScope
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 Hash for SystemAllocationScope
impl Hash for SystemAllocationScope
Source§impl Ord for SystemAllocationScope
impl Ord for SystemAllocationScope
Source§fn cmp(&self, other: &SystemAllocationScope) -> Ordering
fn cmp(&self, other: &SystemAllocationScope) -> 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 SystemAllocationScope
impl PartialEq for SystemAllocationScope
Source§impl PartialOrd for SystemAllocationScope
impl PartialOrd for SystemAllocationScope
impl Copy for SystemAllocationScope
impl Eq for SystemAllocationScope
impl StructuralPartialEq for SystemAllocationScope
Auto Trait Implementations§
impl Freeze for SystemAllocationScope
impl RefUnwindSafe for SystemAllocationScope
impl Send for SystemAllocationScope
impl Sync for SystemAllocationScope
impl Unpin for SystemAllocationScope
impl UnsafeUnpin for SystemAllocationScope
impl UnwindSafe for SystemAllocationScope
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