[][src]Struct rental::common::RentRef_BorrowMut

pub struct RentRef_BorrowMut<'head: 'suffix, 'suffix, H: 'static + StableDeref, T: 'static> {
    pub head: &'head <H as Deref>::Target,
    pub suffix: &'suffix mut &'head T,
}

Mutable borrow of a rental struct.

Fields

head: &'head <H as Deref>::Targetsuffix: &'suffix mut &'head T

Trait Implementations

impl<'head: 'suffix, 'suffix, H: 'static + StableDeref, T: 'static> IntoSuffix for RentRef_BorrowMut<'head, 'suffix, H, T>[src]

type Suffix = &'suffix mut &'head T

Type of the transitive suffix of the borrow struct. Read more

Auto Trait Implementations

impl<'head, 'suffix, H, T> RefUnwindSafe for RentRef_BorrowMut<'head, 'suffix, H, T> where
    T: RefUnwindSafe,
    <H as Deref>::Target: RefUnwindSafe

impl<'head, 'suffix, H, T> Send for RentRef_BorrowMut<'head, 'suffix, H, T> where
    T: Sync,
    <H as Deref>::Target: Sync

impl<'head, 'suffix, H, T> Sync for RentRef_BorrowMut<'head, 'suffix, H, T> where
    T: Sync,
    <H as Deref>::Target: Sync

impl<'head, 'suffix, H, T> Unpin for RentRef_BorrowMut<'head, 'suffix, H, T> where
    'head: 'suffix, 

impl<'head, 'suffix, H, T> !UnwindSafe for RentRef_BorrowMut<'head, 'suffix, H, 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.