pub trait IntoScale {
// Required method
fn into_scale(self) -> Vec2;
}Expand description
A scale: 1.5 (both axes), (2.0, 0.5), [2.0, 0.5] or a Vec2.
Required Methods§
Sourcefn into_scale(self) -> Vec2
fn into_scale(self) -> Vec2
The horizontal and vertical scale.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".