pub struct Hour12 { /* private fields */ }Available on crate features
formatting or parsing only.Expand description
Hour of the day using a 12-hour clock.
Implementations§
Source§impl Hour12
impl Hour12
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 Hour12
impl Eq for Hour12
impl StructuralPartialEq for Hour12
Auto Trait Implementations§
impl Freeze for Hour12
impl RefUnwindSafe for Hour12
impl Send for Hour12
impl Sync for Hour12
impl Unpin for Hour12
impl UnsafeUnpin for Hour12
impl UnwindSafe for Hour12
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