pub struct Rotate(pub Box<[f32; 4]>);
Expand description
Specifies how to rotate an object around an axis.
Tuple Fields§
§0: Box<[f32; 4]>
A list of four floating-point values.
These values are organized into a column vector [X, Y, Z]
specifying the axis of rotation, followed by an angle in degrees.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rotate
impl RefUnwindSafe for Rotate
impl Send for Rotate
impl Sync for Rotate
impl Unpin for Rotate
impl UnwindSafe for Rotate
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