Struct rental::common::RentRwLock_Borrow[][src]

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

Shared borrow of a rental struct.

Fields

Trait Implementations

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

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

Discard the borrow struct and return the transitive suffix field. Read more

Auto Trait Implementations

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

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