ScaleTransform

Trait ScaleTransform 

Source
pub trait ScaleTransform {
    // Required method
    fn scale(&mut self, scale: DVec3) -> &mut Self;
}
Expand description

Scaling operations.

This trait is automatically implemented for DVec3 and [T] where T: ScaleTransform.

Required Methods§

Source

fn scale(&mut self, scale: DVec3) -> &mut Self

Scale at the origin.

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.

Implementations on Foreign Types§

Source§

impl ScaleTransform for DVec3

Source§

fn scale(&mut self, scale: DVec3) -> &mut Self

Source§

impl<T: ScaleTransform> ScaleTransform for [T]

Source§

fn scale(&mut self, scale: DVec3) -> &mut Self

Source§

impl<T: ScaleTransform> ScaleTransform for Vec<T>

Source§

fn scale(&mut self, scale: DVec3) -> &mut Self

Implementors§