pub trait ScaleOps<T>: Sized {
// Required method
fn scale(&mut self, factor: T);
}
Expand description
An operation which multiplies each vector element with a constant
Required Methods§
Object Safety§
This trait is not object safe.
pub trait ScaleOps<T>: Sized {
// Required method
fn scale(&mut self, factor: T);
}
An operation which multiplies each vector element with a constant