pub trait ElementSpacing: Copy + Clone {
// Required method
fn align(
&self,
alignment: impl Alignment,
view: Rectangle,
reference: Rectangle,
n: usize,
objects: usize,
total_size: u32,
) -> i32;
}Expand description
ElementSpacing base trait
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.