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

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

head: &'head <Box<i32> as Deref>::Targetiref: &'iref &'head T

Trait Implementations

impl<'head: 'iref, 'iref, T: 'static> IntoSuffix for SimpleRefMap_Borrow<'head, 'iref, T>[src]

type Suffix = &'iref &'head T

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

Auto Trait Implementations

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

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

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

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

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.