ViewTupleFlat

Trait ViewTupleFlat 

Source
pub trait ViewTupleFlat {
    // Required method
    fn flatten(self) -> Vec<Box<dyn View>>;
}
Expand description

Adds the flatten function to turn a tuple of View’s into a Vec of View trait objects.

Required Methods§

Source

fn flatten(self) -> Vec<Box<dyn View>>

Implementations on Foreign Types§

Source§

impl<A: IntoIterator<Item = Box<dyn View>>> ViewTupleFlat for (A,)

Source§

fn flatten(self) -> Vec<Box<dyn View>>

Source§

impl<A: IntoIterator<Item = Box<dyn View>>, B: IntoIterator<Item = Box<dyn View>>> ViewTupleFlat for (A, B)

Source§

fn flatten(self) -> Vec<Box<dyn View>>

Source§

impl<A: IntoIterator<Item = Box<dyn View>>, B: IntoIterator<Item = Box<dyn View>>, C: IntoIterator<Item = Box<dyn View>>> ViewTupleFlat for (A, B, C)

Source§

fn flatten(self) -> Vec<Box<dyn View>>

Source§

impl<A: IntoIterator<Item = Box<dyn View>>, B: IntoIterator<Item = Box<dyn View>>, C: IntoIterator<Item = Box<dyn View>>, D: IntoIterator<Item = Box<dyn View>>> ViewTupleFlat for (A, B, C, D)

Source§

fn flatten(self) -> Vec<Box<dyn View>>

Source§

impl<A: IntoIterator<Item = Box<dyn View>>, B: IntoIterator<Item = Box<dyn View>>, C: IntoIterator<Item = Box<dyn View>>, D: IntoIterator<Item = Box<dyn View>>, E: IntoIterator<Item = Box<dyn View>>> ViewTupleFlat for (A, B, C, D, E)

Source§

fn flatten(self) -> Vec<Box<dyn View>>

Source§

impl<A: IntoIterator<Item = Box<dyn View>>, B: IntoIterator<Item = Box<dyn View>>, C: IntoIterator<Item = Box<dyn View>>, D: IntoIterator<Item = Box<dyn View>>, E: IntoIterator<Item = Box<dyn View>>, F: IntoIterator<Item = Box<dyn View>>> ViewTupleFlat for (A, B, C, D, E, F)

Source§

fn flatten(self) -> Vec<Box<dyn View>>

Source§

impl<A: IntoIterator<Item = Box<dyn View>>, B: IntoIterator<Item = Box<dyn View>>, C: IntoIterator<Item = Box<dyn View>>, D: IntoIterator<Item = Box<dyn View>>, E: IntoIterator<Item = Box<dyn View>>, F: IntoIterator<Item = Box<dyn View>>, G: IntoIterator<Item = Box<dyn View>>> ViewTupleFlat for (A, B, C, D, E, F, G)

Source§

fn flatten(self) -> Vec<Box<dyn View>>

Source§

impl<A: IntoIterator<Item = Box<dyn View>>, B: IntoIterator<Item = Box<dyn View>>, C: IntoIterator<Item = Box<dyn View>>, D: IntoIterator<Item = Box<dyn View>>, E: IntoIterator<Item = Box<dyn View>>, F: IntoIterator<Item = Box<dyn View>>, G: IntoIterator<Item = Box<dyn View>>, H: IntoIterator<Item = Box<dyn View>>> ViewTupleFlat for (A, B, C, D, E, F, G, H)

Source§

fn flatten(self) -> Vec<Box<dyn View>>

Source§

impl<A: IntoIterator<Item = Box<dyn View>>, B: IntoIterator<Item = Box<dyn View>>, C: IntoIterator<Item = Box<dyn View>>, D: IntoIterator<Item = Box<dyn View>>, E: IntoIterator<Item = Box<dyn View>>, F: IntoIterator<Item = Box<dyn View>>, G: IntoIterator<Item = Box<dyn View>>, H: IntoIterator<Item = Box<dyn View>>, I: IntoIterator<Item = Box<dyn View>>> ViewTupleFlat for (A, B, C, D, E, F, G, H, I)

Source§

fn flatten(self) -> Vec<Box<dyn View>>

Source§

impl<A: IntoIterator<Item = Box<dyn View>>, B: IntoIterator<Item = Box<dyn View>>, C: IntoIterator<Item = Box<dyn View>>, D: IntoIterator<Item = Box<dyn View>>, E: IntoIterator<Item = Box<dyn View>>, F: IntoIterator<Item = Box<dyn View>>, G: IntoIterator<Item = Box<dyn View>>, H: IntoIterator<Item = Box<dyn View>>, I: IntoIterator<Item = Box<dyn View>>, J: IntoIterator<Item = Box<dyn View>>> ViewTupleFlat for (A, B, C, D, E, F, G, H, I, J)

Source§

fn flatten(self) -> Vec<Box<dyn View>>

Source§

impl<A: IntoIterator<Item = Box<dyn View>>, B: IntoIterator<Item = Box<dyn View>>, C: IntoIterator<Item = Box<dyn View>>, D: IntoIterator<Item = Box<dyn View>>, E: IntoIterator<Item = Box<dyn View>>, F: IntoIterator<Item = Box<dyn View>>, G: IntoIterator<Item = Box<dyn View>>, H: IntoIterator<Item = Box<dyn View>>, I: IntoIterator<Item = Box<dyn View>>, J: IntoIterator<Item = Box<dyn View>>, K: IntoIterator<Item = Box<dyn View>>> ViewTupleFlat for (A, B, C, D, E, F, G, H, I, J, K)

Source§

fn flatten(self) -> Vec<Box<dyn View>>

Source§

impl<A: IntoIterator<Item = Box<dyn View>>, B: IntoIterator<Item = Box<dyn View>>, C: IntoIterator<Item = Box<dyn View>>, D: IntoIterator<Item = Box<dyn View>>, E: IntoIterator<Item = Box<dyn View>>, F: IntoIterator<Item = Box<dyn View>>, G: IntoIterator<Item = Box<dyn View>>, H: IntoIterator<Item = Box<dyn View>>, I: IntoIterator<Item = Box<dyn View>>, J: IntoIterator<Item = Box<dyn View>>, K: IntoIterator<Item = Box<dyn View>>, L: IntoIterator<Item = Box<dyn View>>> ViewTupleFlat for (A, B, C, D, E, F, G, H, I, J, K, L)

Source§

fn flatten(self) -> Vec<Box<dyn View>>

Source§

impl<A: IntoIterator<Item = Box<dyn View>>, B: IntoIterator<Item = Box<dyn View>>, C: IntoIterator<Item = Box<dyn View>>, D: IntoIterator<Item = Box<dyn View>>, E: IntoIterator<Item = Box<dyn View>>, F: IntoIterator<Item = Box<dyn View>>, G: IntoIterator<Item = Box<dyn View>>, H: IntoIterator<Item = Box<dyn View>>, I: IntoIterator<Item = Box<dyn View>>, J: IntoIterator<Item = Box<dyn View>>, K: IntoIterator<Item = Box<dyn View>>, L: IntoIterator<Item = Box<dyn View>>, M: IntoIterator<Item = Box<dyn View>>> ViewTupleFlat for (A, B, C, D, E, F, G, H, I, J, K, L, M)

Source§

fn flatten(self) -> Vec<Box<dyn View>>

Source§

impl<A: IntoIterator<Item = Box<dyn View>>, B: IntoIterator<Item = Box<dyn View>>, C: IntoIterator<Item = Box<dyn View>>, D: IntoIterator<Item = Box<dyn View>>, E: IntoIterator<Item = Box<dyn View>>, F: IntoIterator<Item = Box<dyn View>>, G: IntoIterator<Item = Box<dyn View>>, H: IntoIterator<Item = Box<dyn View>>, I: IntoIterator<Item = Box<dyn View>>, J: IntoIterator<Item = Box<dyn View>>, K: IntoIterator<Item = Box<dyn View>>, L: IntoIterator<Item = Box<dyn View>>, M: IntoIterator<Item = Box<dyn View>>, N: IntoIterator<Item = Box<dyn View>>> ViewTupleFlat for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)

Source§

fn flatten(self) -> Vec<Box<dyn View>>

Source§

impl<A: IntoIterator<Item = Box<dyn View>>, B: IntoIterator<Item = Box<dyn View>>, C: IntoIterator<Item = Box<dyn View>>, D: IntoIterator<Item = Box<dyn View>>, E: IntoIterator<Item = Box<dyn View>>, F: IntoIterator<Item = Box<dyn View>>, G: IntoIterator<Item = Box<dyn View>>, H: IntoIterator<Item = Box<dyn View>>, I: IntoIterator<Item = Box<dyn View>>, J: IntoIterator<Item = Box<dyn View>>, K: IntoIterator<Item = Box<dyn View>>, L: IntoIterator<Item = Box<dyn View>>, M: IntoIterator<Item = Box<dyn View>>, N: IntoIterator<Item = Box<dyn View>>, O: IntoIterator<Item = Box<dyn View>>> ViewTupleFlat for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)

Source§

fn flatten(self) -> Vec<Box<dyn View>>

Source§

impl<A: IntoIterator<Item = Box<dyn View>>, B: IntoIterator<Item = Box<dyn View>>, C: IntoIterator<Item = Box<dyn View>>, D: IntoIterator<Item = Box<dyn View>>, E: IntoIterator<Item = Box<dyn View>>, F: IntoIterator<Item = Box<dyn View>>, G: IntoIterator<Item = Box<dyn View>>, H: IntoIterator<Item = Box<dyn View>>, I: IntoIterator<Item = Box<dyn View>>, J: IntoIterator<Item = Box<dyn View>>, K: IntoIterator<Item = Box<dyn View>>, L: IntoIterator<Item = Box<dyn View>>, M: IntoIterator<Item = Box<dyn View>>, N: IntoIterator<Item = Box<dyn View>>, O: IntoIterator<Item = Box<dyn View>>, P: IntoIterator<Item = Box<dyn View>>> ViewTupleFlat for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)

Source§

fn flatten(self) -> Vec<Box<dyn View>>

Implementors§