pub struct PrivateMemoryClass(/* private fields */);Expand description
An implementation-private memory class byte, guaranteed to be in 0xF0–0xFE.
Constructible only via MemoryClass::from_byte.
Implementations§
Trait Implementations§
Source§impl Clone for PrivateMemoryClass
impl Clone for PrivateMemoryClass
Source§fn clone(&self) -> PrivateMemoryClass
fn clone(&self) -> PrivateMemoryClass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PrivateMemoryClass
Source§impl Debug for PrivateMemoryClass
impl Debug for PrivateMemoryClass
impl Eq for PrivateMemoryClass
Source§impl Hash for PrivateMemoryClass
impl Hash for PrivateMemoryClass
Source§impl PartialEq for PrivateMemoryClass
impl PartialEq for PrivateMemoryClass
Source§fn eq(&self, other: &PrivateMemoryClass) -> bool
fn eq(&self, other: &PrivateMemoryClass) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrivateMemoryClass
Auto Trait Implementations§
impl Freeze for PrivateMemoryClass
impl RefUnwindSafe for PrivateMemoryClass
impl Send for PrivateMemoryClass
impl Sync for PrivateMemoryClass
impl Unpin for PrivateMemoryClass
impl UnsafeUnpin for PrivateMemoryClass
impl UnwindSafe for PrivateMemoryClass
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