pub struct DaySchedule {
pub sunrise: u16,
pub sunset: u16,
}Fields§
§sunrise: u16§sunset: u16Implementations§
Trait Implementations§
Source§impl Clone for DaySchedule
impl Clone for DaySchedule
impl Copy for DaySchedule
Source§impl Debug for DaySchedule
impl Debug for DaySchedule
Source§impl Default for DaySchedule
impl Default for DaySchedule
impl Eq for DaySchedule
Source§impl PartialEq for DaySchedule
impl PartialEq for DaySchedule
impl StructuralPartialEq for DaySchedule
Auto Trait Implementations§
impl Forget for DaySchedule
impl Freeze for DaySchedule
impl Move for DaySchedule
impl RefUnwindSafe for DaySchedule
impl Send for DaySchedule
impl Sync for DaySchedule
impl Unpin for DaySchedule
impl UnsafeUnpin for DaySchedule
impl UnwindSafe for DaySchedule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more