pub trait IsScalable {
// Required method
fn scale(&mut self, factor: Positive);
}Expand description
IsScalable trait used for types that can have their size scaled by a factor
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".