Struct corundum::cell::RootCell [−][src]
pub struct RootCell<'a, T: 'a, A: MemPool>(_, _);
Expand description
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
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<'a, T, A> LooseTxInUnsafe for RootCell<'a, T, A> where
A: LooseTxInUnsafe,
T: LooseTxInUnsafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V