pub struct Time;Expand description
A time.
Implementations§
Source§impl Time
impl Time
Sourcepub const fn seconds(value: TensorRank0) -> Quantity<Time>
pub const fn seconds(value: TensorRank0) -> Quantity<Time>
A quantity of seconds.
Sourcepub const fn milliseconds(value: TensorRank0) -> Quantity<Time>
pub const fn milliseconds(value: TensorRank0) -> Quantity<Time>
A quantity of milliseconds.
Sourcepub const fn microseconds(value: TensorRank0) -> Quantity<Time>
pub const fn microseconds(value: TensorRank0) -> Quantity<Time>
A quantity of microseconds.
Sourcepub const fn minutes(value: TensorRank0) -> Quantity<Time>
pub const fn minutes(value: TensorRank0) -> Quantity<Time>
A quantity of minutes.
Sourcepub const fn hours(value: TensorRank0) -> Quantity<Time>
pub const fn hours(value: TensorRank0) -> Quantity<Time>
A quantity of hours.
Trait Implementations§
Source§impl UnitHalves for Time
impl UnitHalves for Time
impl Copy for Time
impl Eq for Time
impl StructuralPartialEq for Time
impl Unit for Time
Auto Trait Implementations§
impl Freeze for Time
impl RefUnwindSafe for Time
impl Send for Time
impl Sync for Time
impl Unpin for Time
impl UnsafeUnpin for Time
impl UnwindSafe for Time
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