Struct atomic_pool::Box [−][src]
pub struct Box<P: Pool> { /* fields omitted */ }
Implementations
Trait Implementations
impl<P: Pool> AsMutSlice for Box<P> where
P::Item: AsMutSlice,
[src]
impl<P: Pool> AsMutSlice for Box<P> where
P::Item: AsMutSlice,
[src]fn as_mut_slice(&mut self) -> &mut [Self::Element]
[src]
fn as_mut_slice(&mut self) -> &mut [Self::Element]
[src]Returns the mutable slice view of Self
impl<P: Pool> Ord for Box<P> where
P::Item: Ord,
[src]
impl<P: Pool> Ord for Box<P> where
P::Item: Ord,
[src]impl<P: Pool> PartialOrd<Box<P>> for Box<P> where
P::Item: PartialOrd,
[src]
impl<P: Pool> PartialOrd<Box<P>> for Box<P> where
P::Item: PartialOrd,
[src]fn partial_cmp(&self, rhs: &Box<P>) -> Option<Ordering>
[src]
fn partial_cmp(&self, rhs: &Box<P>) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<P: Pool> Eq for Box<P> where
P::Item: Eq,
[src]
P::Item: Eq,
impl<P: Pool> Send for Box<P> where
P::Item: Send,
[src]
P::Item: Send,
impl<P: Pool> StableDeref for Box<P>
[src]
impl<P: Pool> Sync for Box<P> where
P::Item: Sync,
[src]
P::Item: Sync,
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self