pub struct HeapStorage<T> { /* private fields */ }Available on crate feature
alloc only.Expand description
Heap-allocated storage.
Trait Implementations§
Source§impl<T> Drop for HeapStorage<T>
impl<T> Drop for HeapStorage<T>
Source§impl<T> From<Box<[UnsafeSyncCell<T>]>> for HeapStorage<T>
impl<T> From<Box<[UnsafeSyncCell<T>]>> for HeapStorage<T>
Source§fn from(value: Box<[UnsafeSyncCell<T>]>) -> Self
fn from(value: Box<[UnsafeSyncCell<T>]>) -> Self
Converts to this type from the input type.
Source§impl<T> From<Vec<T>> for HeapStorage<T>
impl<T> From<Vec<T>> for HeapStorage<T>
Source§impl<T> From<Vec<UnsafeSyncCell<T>>> for HeapStorage<T>
impl<T> From<Vec<UnsafeSyncCell<T>>> for HeapStorage<T>
Source§fn from(value: Vec<UnsafeSyncCell<T>>) -> Self
fn from(value: Vec<UnsafeSyncCell<T>>) -> Self
Converts to this type from the input type.