Struct rental::common::RentRef_Borrow [] [src]

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

Shared borrow of a rental struct.

Fields

Trait Implementations

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

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

[src]

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

Auto Trait Implementations

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

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