pub trait CanScaleNonUniform: GeometricPrimitive + Sized {
type ScaleVector: CoordinatePrimitive;
// Required method
fn scale_non_uniform(&mut self, factors: &Self::ScaleVector);
}Expand description
Applies non-uniform scaling using a separate scale vector.
Required Associated Types§
Sourcetype ScaleVector: CoordinatePrimitive
type ScaleVector: CoordinatePrimitive
Primitive used to represent non-uniform scale factors.
Required Methods§
Sourcefn scale_non_uniform(&mut self, factors: &Self::ScaleVector)
fn scale_non_uniform(&mut self, factors: &Self::ScaleVector)
Applies non-uniform scaling in place.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".