Struct generational_box::MemoryLocation
source · pub struct MemoryLocation<S: 'static = UnsyncStorage>(/* private fields */);
Expand description
A dynamic memory location that can be used in a generational box.
Trait Implementations§
source§impl<S: 'static> Clone for MemoryLocation<S>
impl<S: 'static> Clone for MemoryLocation<S>
impl<S: 'static> Copy for MemoryLocation<S>
Auto Trait Implementations§
impl<S> Freeze for MemoryLocation<S>
impl<S = UnsyncStorage> !RefUnwindSafe for MemoryLocation<S>
impl<S> Send for MemoryLocation<S>where
S: Sync,
impl<S> Sync for MemoryLocation<S>where
S: Sync,
impl<S> Unpin for MemoryLocation<S>
impl<S = UnsyncStorage> !UnwindSafe for MemoryLocation<S>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)