Struct tinystd::refcell::RefMut[][src]

pub struct RefMut<'refcell, T> { /* fields omitted */ }

A Mutable Reference to T

Trait Implementations

impl<T> Deref for RefMut<'_, T>[src]

Explain how to immutably dereference a T from an RefMut<T>

type Target = T

The resulting type after dereferencing.

fn deref(&self) -> &Self::Target[src]

This effectively is what makes Ref a smart pointer; the type is able to correcty Drop or hand out the shared reference to its interior

impl<T> DerefMut for RefMut<'_, T>[src]

Explain how to mutably dereference a T from an RefMut<T>

impl<T> Drop for RefMut<'_, T>[src]

Explain the drop semantics for RefMut<T>

Auto Trait Implementations

impl<'refcell, T> !RefUnwindSafe for RefMut<'refcell, T>

impl<'refcell, T> !Send for RefMut<'refcell, T>

impl<'refcell, T> !Sync for RefMut<'refcell, T>

impl<'refcell, T> Unpin for RefMut<'refcell, T>

impl<'refcell, T> !UnwindSafe for RefMut<'refcell, T>

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, 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>,