Skip to main content

SetScale

Trait SetScale 

Source
pub trait SetScale<T = f32, const N: usize = 3>: GetScale<T, N>
where Vector<T, N>: Copy, T: Copy,
{ // Required method fn set_scale(&mut self, scale: Vector<T, N>) -> &mut Self; }

Required Methods§

Source

fn set_scale(&mut self, scale: Vector<T, N>) -> &mut Self

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.

Implementors§

Source§

impl<F> SetScale<F> for CameraOf<F>
where F: Float,

Source§

impl<T> SetScale<T> for Matrix<T, 4, 4>
where T: Float,

Source§

impl<T> SetScale<T, 2> for Matrix<T, 3, 3>
where T: Float,

Source§

impl<T, const N: usize> SetScale<T, N> for Vector<T, N>
where Vector<T, N>: Copy, T: Copy,