pub struct Velocity;Expand description
A velocity, being a length per unit time.
Implementations§
Source§impl Velocity
impl Velocity
Sourcepub const fn meters_per_second(value: TensorRank0) -> Quantity<Velocity>
pub const fn meters_per_second(value: TensorRank0) -> Quantity<Velocity>
A quantity of metres per second.
Sourcepub const fn millimeters_per_second(value: TensorRank0) -> Quantity<Velocity>
pub const fn millimeters_per_second(value: TensorRank0) -> Quantity<Velocity>
A quantity of millimetres per second.
Sourcepub const fn kilometers_per_hour(value: TensorRank0) -> Quantity<Velocity>
pub const fn kilometers_per_hour(value: TensorRank0) -> Quantity<Velocity>
A quantity of kilometres per hour.
Trait Implementations§
Source§impl UnitDiv<Dimensionless> for Velocity
impl UnitDiv<Dimensionless> for Velocity
Source§impl UnitDiv<Velocity> for Force
impl UnitDiv<Velocity> for Force
Source§type Output = ForcePerVelocity
type Output = ForcePerVelocity
The unit of the quotient.
Source§impl UnitDiv<Velocity> for Rate
impl UnitDiv<Velocity> for Rate
Source§type Output = ReciprocalLength
type Output = ReciprocalLength
The unit of the quotient.
Source§impl UnitDiv<Velocity> for Velocity
impl UnitDiv<Velocity> for Velocity
Source§type Output = Dimensionless
type Output = Dimensionless
The unit of the quotient.
Source§impl UnitHalves for Velocity
impl UnitHalves for Velocity
Source§impl UnitMul<Dimensionless> for Velocity
impl UnitMul<Dimensionless> for Velocity
Source§impl UnitMul<ForcePerVelocity> for Velocity
impl UnitMul<ForcePerVelocity> for Velocity
Source§impl UnitMul<Velocity> for Dimensionless
impl UnitMul<Velocity> for Dimensionless
Source§impl UnitMul<Velocity> for ForcePerVelocity
impl UnitMul<Velocity> for ForcePerVelocity
impl Copy for Velocity
impl Eq for Velocity
impl StructuralPartialEq for Velocity
impl Unit 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