Skip to main content

IntoAll

Trait IntoAll 

Source
pub trait IntoAll {
    type Branches: Branches;

    // Required method
    fn into_branches(self) -> Self::Branches;
}
Expand description

What all and any accept: a tuple of futures, or a Vec, array or iterator of futures of one type.

Required Associated Types§

Source

type Branches: Branches

The branches being polled.

Required Methods§

Source

fn into_branches(self) -> Self::Branches

Wraps every future in a branch.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<A: Future, B: Future, C: Future, D: Future, E: Future, F: Future, G: Future, H: Future, I: Future, J: Future, K: Future, L: Future> IntoAll for (A, B, C, D, E, F, G, H, I, J, K, L)

Source§

type Branches = (Branch<A>, Branch<B>, Branch<C>, Branch<D>, Branch<E>, Branch<F>, Branch<G>, Branch<H>, Branch<I>, Branch<J>, Branch<K>, Branch<L>)

Source§

fn into_branches(self) -> Self::Branches

Source§

impl<A: Future, B: Future, C: Future, D: Future, E: Future, F: Future, G: Future, H: Future, I: Future, J: Future, K: Future> IntoAll for (A, B, C, D, E, F, G, H, I, J, K)

Source§

type Branches = (Branch<A>, Branch<B>, Branch<C>, Branch<D>, Branch<E>, Branch<F>, Branch<G>, Branch<H>, Branch<I>, Branch<J>, Branch<K>)

Source§

fn into_branches(self) -> Self::Branches

Source§

impl<A: Future, B: Future, C: Future, D: Future, E: Future, F: Future, G: Future, H: Future, I: Future, J: Future> IntoAll for (A, B, C, D, E, F, G, H, I, J)

Source§

type Branches = (Branch<A>, Branch<B>, Branch<C>, Branch<D>, Branch<E>, Branch<F>, Branch<G>, Branch<H>, Branch<I>, Branch<J>)

Source§

fn into_branches(self) -> Self::Branches

Source§

impl<A: Future, B: Future, C: Future, D: Future, E: Future, F: Future, G: Future, H: Future, I: Future> IntoAll for (A, B, C, D, E, F, G, H, I)

Source§

type Branches = (Branch<A>, Branch<B>, Branch<C>, Branch<D>, Branch<E>, Branch<F>, Branch<G>, Branch<H>, Branch<I>)

Source§

fn into_branches(self) -> Self::Branches

Source§

impl<A: Future, B: Future, C: Future, D: Future, E: Future, F: Future, G: Future, H: Future> IntoAll for (A, B, C, D, E, F, G, H)

Source§

type Branches = (Branch<A>, Branch<B>, Branch<C>, Branch<D>, Branch<E>, Branch<F>, Branch<G>, Branch<H>)

Source§

fn into_branches(self) -> Self::Branches

Source§

impl<A: Future, B: Future, C: Future, D: Future, E: Future, F: Future, G: Future> IntoAll for (A, B, C, D, E, F, G)

Source§

type Branches = (Branch<A>, Branch<B>, Branch<C>, Branch<D>, Branch<E>, Branch<F>, Branch<G>)

Source§

fn into_branches(self) -> Self::Branches

Source§

impl<A: Future, B: Future, C: Future, D: Future, E: Future, F: Future> IntoAll for (A, B, C, D, E, F)

Source§

type Branches = (Branch<A>, Branch<B>, Branch<C>, Branch<D>, Branch<E>, Branch<F>)

Source§

fn into_branches(self) -> Self::Branches

Source§

impl<A: Future, B: Future, C: Future, D: Future, E: Future> IntoAll for (A, B, C, D, E)

Source§

type Branches = (Branch<A>, Branch<B>, Branch<C>, Branch<D>, Branch<E>)

Source§

fn into_branches(self) -> Self::Branches

Source§

impl<A: Future, B: Future, C: Future, D: Future> IntoAll for (A, B, C, D)

Source§

type Branches = (Branch<A>, Branch<B>, Branch<C>, Branch<D>)

Source§

fn into_branches(self) -> Self::Branches

Source§

impl<A: Future, B: Future, C: Future> IntoAll for (A, B, C)

Source§

type Branches = (Branch<A>, Branch<B>, Branch<C>)

Source§

fn into_branches(self) -> Self::Branches

Source§

impl<A: Future, B: Future> IntoAll for (A, B)

Source§

type Branches = (Branch<A>, Branch<B>)

Source§

fn into_branches(self) -> Self::Branches

Source§

impl<A: Future> IntoAll for (A,)

Source§

type Branches = (Branch<A>,)

Source§

fn into_branches(self) -> Self::Branches

Source§

impl<F: Future, const N: usize> IntoAll for [F; N]

Source§

impl<F: Future> IntoAll for Vec<F>

Source§

impl<I: Iterator, G: FnMut(I::Item) -> F, F: Future> IntoAll for Map<I, G>

items.iter().map(|x| animation): the common way to animate many nodes.

Implementors§