pub struct Velocity<F: Frame> {
pub vector: Vec3,
/* private fields */
}Expand description
A velocity, in a known frame.
Fields§
§vector: Vec3Metres per second, in frame F.
Implementations§
Trait Implementations§
impl<F: Copy + Frame> Copy for Velocity<F>
impl<F: PartialEq + Frame> StructuralPartialEq for Velocity<F>
Auto Trait Implementations§
impl<F> Freeze for Velocity<F>
impl<F> RefUnwindSafe for Velocity<F>
impl<F> Send for Velocity<F>
impl<F> Sync for Velocity<F>
impl<F> Unpin for Velocity<F>
impl<F> UnsafeUnpin for Velocity<F>
impl<F> UnwindSafe for Velocity<F>
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