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§
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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 4 bytes