pub struct Hour24 { /* private fields */ }Available on crate features
formatting or parsing only.Expand description
Hour of the day using a 24-hour clock.
Implementations§
Source§impl Hour24
impl Hour24
Sourcepub const fn default() -> Self
pub const fn default() -> Self
This function exists since Default::default() cannot be used in a const context.
It may be removed once that becomes possible. As the Default trait is in the
prelude, removing this function in the future will not cause any resolution failures for
the overwhelming majority of users; only users who use #![no_implicit_prelude] will be
affected. As such it will not be considered a breaking change.
Trait Implementations§
impl Copy for Hour24
impl Eq for Hour24
impl StructuralPartialEq for Hour24
Auto Trait Implementations§
impl Freeze for Hour24
impl RefUnwindSafe for Hour24
impl Send for Hour24
impl Sync for Hour24
impl Unpin for Hour24
impl UnsafeUnpin for Hour24
impl UnwindSafe for Hour24
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