[−][src]Struct refpool::fakepool::PoolBox
A fake PoolBox
which wraps a Box
.
Implementations
impl<A> PoolBox<A>
[src]
pub fn default(_pool: &Pool<A>) -> Self where
A: PoolDefault,
[src]
A: PoolDefault,
pub fn new(_pool: &Pool<A>, value: A) -> Self
[src]
pub fn clone_from(_pool: &Pool<A>, value: &A) -> Self where
A: PoolClone,
[src]
A: PoolClone,
pub fn pin_default(_pool: &Pool<A>) -> Pin<Self> where
A: PoolDefault,
[src]
A: PoolDefault,
pub fn pin(_pool: &Pool<A>, value: A) -> Pin<Self>
[src]
pub fn ptr_eq(left: &Self, right: &Self) -> bool
[src]
pub fn into_raw(this: Self) -> *mut A
[src]
pub unsafe fn from_raw(ptr: *mut A) -> Self
[src]
Trait Implementations
impl<A> AsMut<A> for PoolBox<A>
[src]
impl<A> AsRef<A> for PoolBox<A>
[src]
impl<A> Borrow<A> for PoolBox<A>
[src]
impl<A> BorrowMut<A> for PoolBox<A>
[src]
fn borrow_mut(&mut self) -> &mut A
[src]
impl<A> Debug for PoolBox<A> where
A: Debug,
[src]
A: Debug,
impl<A> Deref for PoolBox<A>
[src]
impl<A> DerefMut for PoolBox<A>
[src]
impl<A> Display for PoolBox<A> where
A: Display,
[src]
A: Display,
impl<A> Eq for PoolBox<A> where
A: Eq,
[src]
A: Eq,
impl<A> Hash for PoolBox<A> where
A: Hash,
[src]
A: Hash,
fn hash<H: Hasher>(&self, hasher: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<A> Ord for PoolBox<A> where
A: Ord,
[src]
A: Ord,
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<A> PartialEq<PoolBox<A>> for PoolBox<A> where
A: PartialEq,
[src]
A: PartialEq,
impl<A> PartialOrd<PoolBox<A>> for PoolBox<A> where
A: PartialOrd,
[src]
A: PartialOrd,
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<A> Pointer for PoolBox<A>
[src]
Auto Trait Implementations
impl<A> RefUnwindSafe for PoolBox<A> where
A: RefUnwindSafe,
A: RefUnwindSafe,
impl<A> Send for PoolBox<A> where
A: Send,
A: Send,
impl<A> Sync for PoolBox<A> where
A: Sync,
A: Sync,
impl<A> Unpin for PoolBox<A>
impl<A> UnwindSafe for PoolBox<A> where
A: UnwindSafe,
A: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,