pub struct TimeOfDay { /* private fields */ }Implementations§
Source§impl TimeOfDay
impl TimeOfDay
pub fn new(hour: HourOfDay, minute: MinuteOfHour) -> Self
pub fn breach_encapsulation_of_hour(&self) -> &HourOfDay
pub fn breach_encapsulation_of_minute(&self) -> &MinuteOfHour
pub fn on(self, date: CalendarDate) -> CalendarDateTime
pub fn is_after(&self, other: &Self) -> bool
pub fn is_before(&self, other: &Self) -> bool
Trait Implementations§
Source§impl PartialOrd for TimeOfDay
impl PartialOrd for TimeOfDay
impl Eq for TimeOfDay
impl StructuralPartialEq for TimeOfDay
Auto Trait Implementations§
impl Freeze for TimeOfDay
impl RefUnwindSafe for TimeOfDay
impl Send for TimeOfDay
impl Sync for TimeOfDay
impl Unpin for TimeOfDay
impl UnwindSafe for TimeOfDay
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