pub struct Box<P>where
P: BoxPool,{ /* private fields */ }
Expand description
Like std::boxed::Box
but managed by memory pool P
rather than #[global_allocator]
Trait Implementations§
Source§impl<A> Ord for Box<A>
impl<A> Ord for Box<A>
Source§impl<A, B> PartialOrd<Box<B>> for Box<A>
impl<A, B> PartialOrd<Box<B>> for Box<A>
impl<A> Eq for Box<A>
impl<P> Send for Box<P>
impl<P> StableDeref for Box<P>where
P: BoxPool,
impl<P> Sync for Box<P>
Auto Trait Implementations§
impl<P> Freeze for Box<P>
impl<P> !RefUnwindSafe for Box<P>
impl<P> Unpin for Box<P>
impl<P> !UnwindSafe for Box<P>
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
)