pub struct Transform3d {
pub position: [f32; 3],
pub rotation: [f32; 4],
pub scale: [f32; 3],
}Fields§
§position: [f32; 3]§rotation: [f32; 4]Quaternion [x, y, z, w]
scale: [f32; 3]Trait Implementations§
Source§impl Clone for Transform3d
impl Clone for Transform3d
Source§fn clone(&self) -> Transform3d
fn clone(&self) -> Transform3d
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Transform3d
impl RefUnwindSafe for Transform3d
impl Send for Transform3d
impl Sync for Transform3d
impl Unpin for Transform3d
impl UnsafeUnpin for Transform3d
impl UnwindSafe for Transform3d
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