pub struct Translate(pub Box<[f32; 3]>);
Expand description
Changes the position of an object in a local coordinate system.
Tuple Fields§
§0: Box<[f32; 3]>
A list of three floating-point values. These values are organized into a column vector suitable for a matrix composition.
Implementations§
Trait Implementations§
Source§impl From<Translate> for RigidTransform
impl From<Translate> for RigidTransform
Auto Trait Implementations§
impl Freeze for Translate
impl RefUnwindSafe for Translate
impl Send for Translate
impl Sync for Translate
impl Unpin for Translate
impl UnwindSafe for Translate
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