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§
fn into_views(self) -> Vec<Box<dyn View>>
fn stack(self, direction: FlexDirection) -> Stack
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".