[][src]Struct ouroboros_examples::ouroboros_impl_chain_hack::BorrowedFields

pub(crate) struct BorrowedFields<'outer_borrow, 'this> {
    pub(crate) c: &'outer_borrow Rc<&'this i32>,
    pub(crate) b: &'outer_borrow Arc<&'this i32>,
    pub(crate) a: &'outer_borrow Box<i32>,
}

A struct for holding immutable references to all tail and immutably borrowed fields in an instance of ChainHack.

Fields

c: &'outer_borrow Rc<&'this i32>b: &'outer_borrow Arc<&'this i32>a: &'outer_borrow Box<i32>

Auto Trait Implementations

impl<'outer_borrow, 'this> !RefUnwindSafe for BorrowedFields<'outer_borrow, 'this>[src]

impl<'outer_borrow, 'this> !Send for BorrowedFields<'outer_borrow, 'this>[src]

impl<'outer_borrow, 'this> !Sync for BorrowedFields<'outer_borrow, 'this>[src]

impl<'outer_borrow, 'this> Unpin for BorrowedFields<'outer_borrow, 'this> where
    'this: 'outer_borrow, 
[src]

impl<'outer_borrow, 'this> !UnwindSafe for BorrowedFields<'outer_borrow, 'this>[src]

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.