pub trait ScaledAdd<S> {
// Required method
fn scaled_add(&mut self, scalar: S, other: &Self);
}Expand description
In-place self ← self + scalar · other. Backend-generic vector update.
Required Methods§
Sourcefn scaled_add(&mut self, scalar: S, other: &Self)
fn scaled_add(&mut self, scalar: S, other: &Self)
Add scalar · other into self in place.
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.