struct Elem<T> {
range: AllocRange,
data: T,
}
Fields§
§range: AllocRange
The range covered by this element; never empty.
data: T
The data stored for this element.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Elem<T>where
T: Freeze,
impl<T> RefUnwindSafe for Elem<T>where
T: RefUnwindSafe,
impl<T> Send for Elem<T>where
T: Send,
impl<T> Sync for Elem<T>where
T: Sync,
impl<T> Unpin for Elem<T>where
T: Unpin,
impl<T> UnwindSafe for Elem<T>where
T: UnwindSafe,
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§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
)Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.