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
pub trait IsScalable {
// Required method
fn scale(&mut self, factor: Positive);
}
IsScalable trait used for types that can have their size scaled by a factor