pub trait Layout: Send + Sync {
// Required methods
fn axis(&self) -> Axis;
fn spacing(&self) -> f32;
}Expand description
A layout strategy that controls how children are arranged.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".