pub struct Velocity {
pub dx: f64,
pub dy: f64,
pub dz: f64,
}Expand description
Movement vector per tick.
Fields§
§dx: f64X movement per tick.
dy: f64Y movement per tick.
dz: f64Z movement per tick.
Trait Implementations§
impl Component for Velocity
impl Copy for Velocity
impl StructuralPartialEq for Velocity
Auto Trait Implementations§
impl Freeze for Velocity
impl RefUnwindSafe for Velocity
impl Send for Velocity
impl Sync for Velocity
impl Unpin for Velocity
impl UnsafeUnpin for Velocity
impl UnwindSafe for Velocity
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