[][src]Struct rendy_frame::cirque::InitialRef

pub struct InitialRef<'a, T, I = T, P = T> { /* fields omitted */ }

Reference to new value in the Cirque. It is in initial state.

Implementations

impl<'a, T, I, P> InitialRef<'a, T, I, P>[src]

pub fn init(self, init: impl FnOnce(I) -> T) -> ReadyRef<'a, T, I, P>[src]

Init value.

pub fn index(&self) -> usize[src]

Get ref index.

Trait Implementations

impl<'a, T: Debug, I: Debug, P: Debug> Debug for InitialRef<'a, T, I, P>[src]

Auto Trait Implementations

impl<'a, T, I, P> RefUnwindSafe for InitialRef<'a, T, I, P> where
    I: RefUnwindSafe,
    P: RefUnwindSafe,
    T: RefUnwindSafe

impl<'a, T, I, P> Send for InitialRef<'a, T, I, P> where
    I: Send,
    P: Send,
    T: Send

impl<'a, T, I, P> Sync for InitialRef<'a, T, I, P> where
    I: Sync,
    P: Sync,
    T: Sync

impl<'a, T, I, P> Unpin for InitialRef<'a, T, I, P> where
    I: Unpin

impl<'a, T, I = T, P = T> !UnwindSafe for InitialRef<'a, T, I, P>

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.