pub struct Scale(pub Box<[f32; 3]>);
Expand description
Specifies how to change an object’s size.
Tuple Fields§
§0: Box<[f32; 3]>
A list of three floating-point values. These values are organized into a column vector suitable for matrix composition.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scale
impl RefUnwindSafe for Scale
impl Send for Scale
impl Sync for Scale
impl Unpin for Scale
impl UnwindSafe for Scale
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more