[][src]Struct crndm::cell::RefMut

pub struct RefMut<'b, T: 'b + PSafe + ?Sized, A: MemPool> { /* fields omitted */ }

Implementations

impl<T: PSafe + ?Sized, A: MemPool, '_> RefMut<'_, T, A>[src]

pub fn into_mut<'a>(r: RefMut<'a, T, A>) -> &'a mut T[src]

Converts RefMut into a mutable reference within the same lifetime

Trait Implementations

impl<T: Debug + PSafe + ?Sized, A: MemPool, '_> Debug for RefMut<'_, T, A>[src]

impl<T: PSafe + ?Sized, A: MemPool, '_> Deref for RefMut<'_, T, A>[src]

type Target = T

The resulting type after dereferencing.

impl<T: PSafe + ?Sized, A: MemPool, '_> DerefMut for RefMut<'_, T, A>[src]

impl<T: Display + PSafe + ?Sized, A: MemPool, '_> Display for RefMut<'_, T, A>[src]

impl<T: PSafe + ?Sized, A: MemPool, '_> Drop for RefMut<'_, T, A>[src]

impl<T: PSafe + PClone<A>, A: MemPool, '_> PFrom<RefMut<'_, T, A>, A> for LogRefCell<T, A>[src]

pub fn pfrom(other: RefMut<'_, T, A>, j: &Journal<A>) -> Self[src]

Crates a new LogRefCell and drops the Ref

After calling this function, the Ref won't be available anymore. It will be possible to borrow the LogRefCell mutably. The new LogRefCell has a new location with the same data.

impl<T: PSafe + ?Sized, A: MemPool, '_> PSafe for RefMut<'_, T, A>[src]

impl<T: ?Sized, A: MemPool, '_> !Send for RefMut<'_, T, A>[src]

impl<T: ?Sized, A: MemPool, '_> !Sync for RefMut<'_, T, A>[src]

impl<T: ?Sized, A: MemPool, '_> !TxOutSafe for RefMut<'_, T, A>[src]

Auto Trait Implementations

impl<'b, T, A> !LooseTxInUnsafe for RefMut<'b, T, A>[src]

impl<'b, T, A> !RefUnwindSafe for RefMut<'b, T, A>[src]

impl<'b, T, A> !TxInSafe for RefMut<'b, T, A>[src]

impl<'b, T: ?Sized, A> Unpin for RefMut<'b, T, A>[src]

impl<'b, T, A> !UnwindSafe for RefMut<'b, T, A>[src]

impl<'b, T, A> !VSafe for RefMut<'b, T, A>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, A> ToString<A> for T where
    A: MemPool,
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,