pub struct Rate;Expand description
A rate, being a reciprocal time.
Implementations§
Source§impl Rate
impl Rate
Sourcepub const fn per_second(value: TensorRank0) -> Quantity<Rate>
pub const fn per_second(value: TensorRank0) -> Quantity<Rate>
A quantity of reciprocal seconds.
Sourcepub const fn per_minute(value: TensorRank0) -> Quantity<Rate>
pub const fn per_minute(value: TensorRank0) -> Quantity<Rate>
A quantity of reciprocal minutes.
Sourcepub const fn per_hour(value: TensorRank0) -> Quantity<Rate>
pub const fn per_hour(value: TensorRank0) -> Quantity<Rate>
A quantity of reciprocal hours.
Sourcepub const fn hertz(value: TensorRank0) -> Quantity<Rate>
pub const fn hertz(value: TensorRank0) -> Quantity<Rate>
A quantity of hertz.
Trait Implementations§
Source§impl UnitDiv<ReciprocalLength> for Rate
impl UnitDiv<ReciprocalLength> for Rate
Source§impl UnitDiv<ReciprocalViscosity> for Rate
impl UnitDiv<ReciprocalViscosity> for Rate
Source§impl UnitDiv<Stress> for Rate
impl UnitDiv<Stress> for Rate
Source§type Output = ReciprocalViscosity
type Output = ReciprocalViscosity
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 UnitHalves for Rate
impl UnitHalves for Rate
impl Copy for Rate
impl Eq for Rate
impl StructuralPartialEq for Rate
impl Unit for Rate
Auto Trait Implementations§
impl Freeze for Rate
impl RefUnwindSafe for Rate
impl Send for Rate
impl Sync for Rate
impl Unpin for Rate
impl UnsafeUnpin for Rate
impl UnwindSafe for Rate
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