[][src]Struct rental::examples::SimpleRefDebug_Borrow

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

Shared borrow of a rental struct.

Fields

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

Trait Implementations

impl<'head: 'iref, 'iref> IntoSuffix for SimpleRefDebug_Borrow<'head, 'iref>[src]

type Suffix = &'iref &'head i32

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

Auto Trait Implementations

impl<'head, 'iref> Send for SimpleRefDebug_Borrow<'head, 'iref>

impl<'head, 'iref> Sync for SimpleRefDebug_Borrow<'head, 'iref>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]