Struct date_time_matrix::weekday_and_hour::WeekdayAndHour
source · [−]Tuple Fields
0: Weekday
1: Hour
Trait Implementations
sourceimpl Clone for WeekdayAndHour
impl Clone for WeekdayAndHour
sourcefn clone(&self) -> WeekdayAndHour
fn clone(&self) -> WeekdayAndHour
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WeekdayAndHour
impl Debug for WeekdayAndHour
sourceimpl<Tz: TimeZone> From<DateTime<Tz>> for WeekdayAndHour
impl<Tz: TimeZone> From<DateTime<Tz>> for WeekdayAndHour
sourceimpl From<NaiveDateTime> for WeekdayAndHour
impl From<NaiveDateTime> for WeekdayAndHour
sourcefn from(dt: NaiveDateTime) -> Self
fn from(dt: NaiveDateTime) -> Self
Performs the conversion.
sourceimpl Hash for WeekdayAndHour
impl Hash for WeekdayAndHour
sourceimpl Ord for WeekdayAndHour
impl Ord for WeekdayAndHour
sourceimpl PartialEq<WeekdayAndHour> for WeekdayAndHour
impl PartialEq<WeekdayAndHour> for WeekdayAndHour
sourcefn eq(&self, other: &WeekdayAndHour) -> bool
fn eq(&self, other: &WeekdayAndHour) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WeekdayAndHour) -> bool
fn ne(&self, other: &WeekdayAndHour) -> bool
This method tests for !=
.
sourceimpl PartialOrd<WeekdayAndHour> for WeekdayAndHour
impl PartialOrd<WeekdayAndHour> for WeekdayAndHour
sourcefn partial_cmp(&self, other: &WeekdayAndHour) -> Option<Ordering>
fn partial_cmp(&self, other: &WeekdayAndHour) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for WeekdayAndHour
impl Eq for WeekdayAndHour
impl StructuralEq for WeekdayAndHour
impl StructuralPartialEq for WeekdayAndHour
Auto Trait Implementations
impl RefUnwindSafe for WeekdayAndHour
impl Send for WeekdayAndHour
impl Sync for WeekdayAndHour
impl Unpin for WeekdayAndHour
impl UnwindSafe for WeekdayAndHour
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more