#[repr(C)]pub struct Hours(pub i32);Expand description
std::chrono::hours.
Tuple Fields§
§0: i32Trait Implementations§
impl Copy for Hours
impl Eq for Hours
Source§impl Ord for Hours
impl Ord for Hours
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Hours
impl PartialOrd for Hours
impl StructuralPartialEq for Hours
Auto Trait Implementations§
impl Freeze for Hours
impl RefUnwindSafe for Hours
impl Send for Hours
impl Sync for Hours
impl Unpin for Hours
impl UnsafeUnpin for Hours
impl UnwindSafe for Hours
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