[][src]Enum gc_sequence::flatten::Flatten

#[must_use = "sequences do nothing unless stepped"]
pub enum Flatten<'gc, S> where
    S: Sequence<'gc>,
    S::Output: Sequence<'gc>, 
{ First(S), Second(S::Output), }

Variants

First(S)Second(S::Output)

Methods

impl<'gc, S> Flatten<'gc, S> where
    S: Sequence<'gc>,
    S::Output: Sequence<'gc>, 
[src]

pub fn new(s: S) -> Flatten<'gc, S>[src]

Trait Implementations

impl<'gc, S> Sequence<'gc> for Flatten<'gc, S> where
    S: Sequence<'gc>,
    S::Output: Sequence<'gc>, 
[src]

type Output = <S::Output as Sequence<'gc>>::Output

impl<'gc, S> Drop for Flatten<'gc, S> where
    S: Sequence<'gc>,
    S::Output: Sequence<'gc>, 
[src]

impl<'gc, S> Collect for Flatten<'gc, S> where
    S: Sequence<'gc>,
    S::Output: Sequence<'gc>,
    S: Collect,
    S::Output: Collect
[src]

Auto Trait Implementations

impl<'gc, S> Send for Flatten<'gc, S> where
    S: Send,
    <S as Sequence<'gc>>::Output: Send

impl<'gc, S> Sync for Flatten<'gc, S> where
    S: Sync,
    <S as Sequence<'gc>>::Output: Sync

Blanket Implementations

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.

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

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

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