[−][src]Struct crndm::cell::RootCell
Root object container
The return value of pool's open()
function is a RootCell<T>
which
contains a reference to the root object of type T
and a reference counting
object of pool type. When there is no more reference to the RootCell
, it
closes the underlying pool.
The root object is immutable; modifications to the root object can be provided via interior mutability.
Implementations
impl<'a, T: 'a + PSafe, A: MemPool> RootCell<'a, T, A>
[src]
Trait Implementations
impl<T: PSafe, A: MemPool, '_> Clone for RootCell<'_, T, A>
[src]
pub fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Debug + PSafe, A: MemPool, '_> Debug for RootCell<'_, T, A>
[src]
impl<T: PSafe, A: MemPool, '_> Deref for RootCell<'_, T, A>
[src]
impl<T: Display + PSafe, A: MemPool, '_> Display for RootCell<'_, T, A>
[src]
impl<T: PSafe + Eq, A: MemPool, '_> Eq for RootCell<'_, T, A>
[src]
impl<T: Ord + PSafe, A: MemPool, '_> Ord for RootCell<'_, T, A>
[src]
pub fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<T, A: MemPool, '_> !PSafe for RootCell<'_, T, A>
[src]
impl<T: PSafe + PartialEq, A: MemPool, '_> PartialEq<RootCell<'_, T, A>> for RootCell<'_, T, A>
[src]
pub fn eq(&self, other: &Self) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T: PSafe + PartialOrd, A: MemPool, '_> PartialOrd<RootCell<'_, T, A>> for RootCell<'_, T, A>
[src]
pub fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T, A: MemPool, '_> RefUnwindSafe for RootCell<'_, T, A>
[src]
impl<T: PSafe + Send, A: MemPool, '_> Send for RootCell<'_, T, A>
[src]
impl<T: ?Sized, A: MemPool, '_> !Sync for RootCell<'_, T, A>
[src]
impl<T: PSafe, A: MemPool, '_> TxInSafe for RootCell<'_, T, A>
[src]
impl<T, A: MemPool, '_> !TxOutSafe for RootCell<'_, T, A>
[src]
impl<T, A: MemPool, '_> UnwindSafe for RootCell<'_, T, A>
[src]
Auto Trait Implementations
impl<'a, T, A> LooseTxInUnsafe for RootCell<'a, T, A> where
A: LooseTxInUnsafe,
T: LooseTxInUnsafe,
[src]
A: LooseTxInUnsafe,
T: LooseTxInUnsafe,
impl<'a, T, A> Unpin for RootCell<'a, T, A>
[src]
impl<'a, T, A> VSafe for RootCell<'a, T, A> where
A: VSafe,
T: VSafe,
[src]
A: VSafe,
T: VSafe,
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,
pub 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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, A> ToString<A> for T where
A: MemPool,
T: Display + ?Sized,
[src]
A: MemPool,
T: Display + ?Sized,
pub default fn to_pstring(&Self, &Journal<A>) -> String<A>
[src]
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.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,