Struct rental::common::RentMutex_BorrowMut[][src]

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

Mutable borrow of a rental struct.

Fields

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

Trait Implementations

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

type Suffix = &'suffix mut MutexGuard<'head, T>

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

Auto Trait Implementations

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

impl<'head, 'suffix, H, T> !Send for RentMutex_BorrowMut<'head, 'suffix, H, T>

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

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

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