pub struct AllocationGeneration(/* private fields */);Expand description
Opaque registry-issued generation of one allocation at one binding.
Generations are never derived from a pointer. Reusing the same virtual address therefore cannot make metadata for an earlier allocation current.
Trait Implementations§
Source§impl Clone for AllocationGeneration
impl Clone for AllocationGeneration
Source§fn clone(&self) -> AllocationGeneration
fn clone(&self) -> AllocationGeneration
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 AllocationGeneration
Source§impl Debug for AllocationGeneration
impl Debug for AllocationGeneration
impl Eq for AllocationGeneration
Source§impl Hash for AllocationGeneration
impl Hash for AllocationGeneration
Source§impl PartialEq for AllocationGeneration
impl PartialEq for AllocationGeneration
impl StructuralPartialEq for AllocationGeneration
Auto Trait Implementations§
impl Freeze for AllocationGeneration
impl RefUnwindSafe for AllocationGeneration
impl Send for AllocationGeneration
impl Sync for AllocationGeneration
impl Unpin for AllocationGeneration
impl UnsafeUnpin for AllocationGeneration
impl UnwindSafe for AllocationGeneration
Blanket Implementations§
impl<T> BindingResource for T
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