Struct rental::examples::SimpleRefMap_Borrow[][src]

pub struct SimpleRefMap_Borrow<'head: 'iref, 'iref, T: 'static> {
    pub head: &'head <Box<i32> as Deref>::Target,
    pub iref: &'iref &'head T,
}

Shared borrow of a rental struct.

Fields

Trait Implementations

impl<'head: 'iref, 'iref, T: 'static> IntoSuffix for SimpleRefMap_Borrow<'head, 'iref, 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, 'iref, T> Send for SimpleRefMap_Borrow<'head, 'iref, T> where
    T: Sync

impl<'head, 'iref, T> Sync for SimpleRefMap_Borrow<'head, 'iref, T> where
    T: Sync