#[repr(C)]pub struct ObjectMoveData {
pub targetPos: Vector3,
pub targetRot: Vector3,
pub speed: f32,
}Expand description
Object moving information
Fields§
§targetPos: Vector3The position the object moving to.
targetRot: Vector3The final rotation of the object.
speed: f32The speed at which to move the object (units per second).
Trait Implementations§
Source§impl Clone for ObjectMoveData
impl Clone for ObjectMoveData
Source§fn clone(&self) -> ObjectMoveData
fn clone(&self) -> ObjectMoveData
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 moreSource§impl Debug for ObjectMoveData
impl Debug for ObjectMoveData
Source§impl Default for ObjectMoveData
impl Default for ObjectMoveData
Source§fn default() -> ObjectMoveData
fn default() -> ObjectMoveData
Returns the “default value” for a type. Read more
impl Copy for ObjectMoveData
Auto Trait Implementations§
impl Freeze for ObjectMoveData
impl RefUnwindSafe for ObjectMoveData
impl Send for ObjectMoveData
impl Sync for ObjectMoveData
impl Unpin for ObjectMoveData
impl UnwindSafe for ObjectMoveData
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