pub trait CellData: Copy {
// Required methods
fn are_homogeneous(&self, other: &Self) -> bool;
fn scale(&self, multiplier: usize) -> Self;
}
Required Methods§
fn are_homogeneous(&self, other: &Self) -> bool
fn scale(&self, multiplier: usize) -> Self
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.