StackExt

Trait StackExt 

Source
pub trait StackExt {
    // Required method
    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 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,

Implementors§

Source§

impl<V: IntoView + 'static, T: IntoIterator<Item = V> + 'static> StackExt for T