ViewTuple

Trait ViewTuple 

Source
pub trait ViewTuple {
    // Required methods
    fn into_views(self) -> Vec<Box<dyn View>>;
    fn stack(self, direction: FlexDirection) -> Stack;

    // Provided methods
    fn v_stack(self) -> Stack
       where Self: Sized { ... }
    fn h_stack(self) -> Stack
       where Self: Sized { ... }
}

Required Methods§

Source

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

Source

fn stack(self, direction: FlexDirection) -> Stack

Provided Methods§

Source

fn v_stack(self) -> Stack
where Self: Sized,

Source

fn h_stack(self) -> Stack
where Self: Sized,

Implementations on Foreign Types§

Source§

impl<A: IntoView + 'static> ViewTuple for (A,)

Source§

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

Source§

fn stack(self, direction: FlexDirection) -> Stack

Source§

impl<A: IntoView + 'static, B: IntoView + 'static> ViewTuple for (A, B)

Source§

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

Source§

fn stack(self, direction: FlexDirection) -> Stack

Source§

impl<A: IntoView + 'static, B: IntoView + 'static, C: IntoView + 'static> ViewTuple for (A, B, C)

Source§

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

Source§

fn stack(self, direction: FlexDirection) -> Stack

Source§

impl<A: IntoView + 'static, B: IntoView + 'static, C: IntoView + 'static, D: IntoView + 'static> ViewTuple for (A, B, C, D)

Source§

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

Source§

fn stack(self, direction: FlexDirection) -> Stack

Source§

impl<A: IntoView + 'static, B: IntoView + 'static, C: IntoView + 'static, D: IntoView + 'static, E: IntoView + 'static> ViewTuple for (A, B, C, D, E)

Source§

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

Source§

fn stack(self, direction: FlexDirection) -> Stack

Source§

impl<A: IntoView + 'static, B: IntoView + 'static, C: IntoView + 'static, D: IntoView + 'static, E: IntoView + 'static, F: IntoView + 'static> ViewTuple for (A, B, C, D, E, F)

Source§

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

Source§

fn stack(self, direction: FlexDirection) -> Stack

Source§

impl<A: IntoView + 'static, B: IntoView + 'static, C: IntoView + 'static, D: IntoView + 'static, E: IntoView + 'static, F: IntoView + 'static, G: IntoView + 'static> ViewTuple for (A, B, C, D, E, F, G)

Source§

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

Source§

fn stack(self, direction: FlexDirection) -> Stack

Source§

impl<A: IntoView + 'static, B: IntoView + 'static, C: IntoView + 'static, D: IntoView + 'static, E: IntoView + 'static, F: IntoView + 'static, G: IntoView + 'static, H: IntoView + 'static> ViewTuple for (A, B, C, D, E, F, G, H)

Source§

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

Source§

fn stack(self, direction: FlexDirection) -> Stack

Source§

impl<A: IntoView + 'static, B: IntoView + 'static, C: IntoView + 'static, D: IntoView + 'static, E: IntoView + 'static, F: IntoView + 'static, G: IntoView + 'static, H: IntoView + 'static, I: IntoView + 'static> ViewTuple for (A, B, C, D, E, F, G, H, I)

Source§

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

Source§

fn stack(self, direction: FlexDirection) -> Stack

Source§

impl<A: IntoView + 'static, B: IntoView + 'static, C: IntoView + 'static, D: IntoView + 'static, E: IntoView + 'static, F: IntoView + 'static, G: IntoView + 'static, H: IntoView + 'static, I: IntoView + 'static, J: IntoView + 'static> ViewTuple for (A, B, C, D, E, F, G, H, I, J)

Source§

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

Source§

fn stack(self, direction: FlexDirection) -> Stack

Source§

impl<A: IntoView + 'static, B: IntoView + 'static, C: IntoView + 'static, D: IntoView + 'static, E: IntoView + 'static, F: IntoView + 'static, G: IntoView + 'static, H: IntoView + 'static, I: IntoView + 'static, J: IntoView + 'static, K: IntoView + 'static> ViewTuple for (A, B, C, D, E, F, G, H, I, J, K)

Source§

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

Source§

fn stack(self, direction: FlexDirection) -> Stack

Source§

impl<A: IntoView + 'static, B: IntoView + 'static, C: IntoView + 'static, D: IntoView + 'static, E: IntoView + 'static, F: IntoView + 'static, G: IntoView + 'static, H: IntoView + 'static, I: IntoView + 'static, J: IntoView + 'static, K: IntoView + 'static, L: IntoView + 'static> ViewTuple for (A, B, C, D, E, F, G, H, I, J, K, L)

Source§

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

Source§

fn stack(self, direction: FlexDirection) -> Stack

Source§

impl<A: IntoView + 'static, B: IntoView + 'static, C: IntoView + 'static, D: IntoView + 'static, E: IntoView + 'static, F: IntoView + 'static, G: IntoView + 'static, H: IntoView + 'static, I: IntoView + 'static, J: IntoView + 'static, K: IntoView + 'static, L: IntoView + 'static, M: IntoView + 'static> ViewTuple for (A, B, C, D, E, F, G, H, I, J, K, L, M)

Source§

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

Source§

fn stack(self, direction: FlexDirection) -> Stack

Source§

impl<A: IntoView + 'static, B: IntoView + 'static, C: IntoView + 'static, D: IntoView + 'static, E: IntoView + 'static, F: IntoView + 'static, G: IntoView + 'static, H: IntoView + 'static, I: IntoView + 'static, J: IntoView + 'static, K: IntoView + 'static, L: IntoView + 'static, M: IntoView + 'static, N: IntoView + 'static> ViewTuple for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)

Source§

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

Source§

fn stack(self, direction: FlexDirection) -> Stack

Source§

impl<A: IntoView + 'static, B: IntoView + 'static, C: IntoView + 'static, D: IntoView + 'static, E: IntoView + 'static, F: IntoView + 'static, G: IntoView + 'static, H: IntoView + 'static, I: IntoView + 'static, J: IntoView + 'static, K: IntoView + 'static, L: IntoView + 'static, M: IntoView + 'static, N: IntoView + 'static, O: IntoView + 'static> ViewTuple for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)

Source§

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

Source§

fn stack(self, direction: FlexDirection) -> Stack

Source§

impl<A: IntoView + 'static, B: IntoView + 'static, C: IntoView + 'static, D: IntoView + 'static, E: IntoView + 'static, F: IntoView + 'static, G: IntoView + 'static, H: IntoView + 'static, I: IntoView + 'static, J: IntoView + 'static, K: IntoView + 'static, L: IntoView + 'static, M: IntoView + 'static, N: IntoView + 'static, O: IntoView + 'static, P: IntoView + 'static> ViewTuple for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)

Source§

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

Source§

fn stack(self, direction: FlexDirection) -> Stack

Implementors§