Struct rental::examples::SimpleRefCovariant_BorrowMut[][src]

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

Mutable borrow of a rental struct.

Fields

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

Trait Implementations

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

type Suffix = &'iref mut &'head i32

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

Auto Trait Implementations

impl<'head, 'iref> RefUnwindSafe for SimpleRefCovariant_BorrowMut<'head, 'iref>

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

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

impl<'head, 'iref> Unpin for SimpleRefCovariant_BorrowMut<'head, 'iref> where
    'head: 'iref, 

impl<'head, 'iref> !UnwindSafe for SimpleRefCovariant_BorrowMut<'head, 'iref>

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.