Struct gc_sequence::SequenceFnWith[][src]

#[must_use = "sequences do nothing unless stepped"]
pub struct SequenceFnWith<C, F>(_);

Implementations

impl<C, F> SequenceFnWith<C, F>[src]

pub fn new(c: C, f: F) -> SequenceFnWith<C, F>[src]

Trait Implementations

impl<C, F> Collect for SequenceFnWith<C, F> where
    Option<(C, StaticCollect<F>)>: Collect
[src]

impl<C: Debug, F: Debug> Debug for SequenceFnWith<C, F>[src]

impl<C, F> MustNotImplDrop for SequenceFnWith<C, F>[src]

impl<'gc, C, F, R> Sequence<'gc> for SequenceFnWith<C, F> where
    F: 'static + FnOnce(MutationContext<'gc, '_>, C) -> R,
    C: Collect
[src]

type Output = R

Auto Trait Implementations

impl<C, F> RefUnwindSafe for SequenceFnWith<C, F> where
    C: RefUnwindSafe,
    F: RefUnwindSafe

impl<C, F> Send for SequenceFnWith<C, F> where
    C: Send,
    F: Send

impl<C, F> Sync for SequenceFnWith<C, F> where
    C: Sync,
    F: Sync

impl<C, F> Unpin for SequenceFnWith<C, F> where
    C: Unpin,
    F: Unpin

impl<C, F> UnwindSafe for SequenceFnWith<C, F> where
    C: UnwindSafe,
    F: UnwindSafe

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.