pub struct LingBox<T>(/* private fields */);Expand description
A heap-allocated Ling value box backed by the system allocator
(or mimalloc when the mimalloc feature is enabled).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for LingBox<T>
impl<T> RefUnwindSafe for LingBox<T>where
T: RefUnwindSafe,
impl<T> Send for LingBox<T>where
T: Send,
impl<T> Sync for LingBox<T>where
T: Sync,
impl<T> Unpin for LingBox<T>
impl<T> UnsafeUnpin for LingBox<T>
impl<T> UnwindSafe for LingBox<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