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> PartialEq<Box<B>> for Box<A>
impl<A, B> PartialEq<Box<B>> for Box<A>
source§impl<A, B> PartialOrd<Box<B>> for Box<A>
impl<A, B> PartialOrd<Box<B>> for Box<A>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<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§
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