Struct iso_8601::WDate [−][src]
A specific week (4.1.4.3)
Fields
year: Y
week: u8
Trait Implementations
impl<Y: Eq + Year> Eq for WDate<Y>
[src]
impl<Y: Eq + Year> Eq for WDate<Y>
impl<Y: PartialEq + Year> PartialEq for WDate<Y>
[src]
impl<Y: PartialEq + Year> PartialEq for WDate<Y>
fn eq(&self, other: &WDate<Y>) -> bool
[src]
fn eq(&self, other: &WDate<Y>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &WDate<Y>) -> bool
[src]
fn ne(&self, other: &WDate<Y>) -> bool
This method tests for !=
.
impl<Y: Clone + Year> Clone for WDate<Y>
[src]
impl<Y: Clone + Year> Clone for WDate<Y>
fn clone(&self) -> WDate<Y>
[src]
fn clone(&self) -> WDate<Y>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<Y: Debug + Year> Debug for WDate<Y>
[src]
impl<Y: Debug + Year> Debug for WDate<Y>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<Y: Year> Datelike<Y> for WDate<Y>
[src]
impl<Y: Year> Datelike<Y> for WDate<Y>
impl FromStr for WDate
[src]
impl FromStr for WDate
type Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a string s
to return a value of this type. Read more
impl<Y> Valid for WDate<Y> where
Y: Year,
[src]
impl<Y> Valid for WDate<Y> where
Y: Year,
impl<Y> From<WdDate<Y>> for WDate<Y> where
Y: Year,
[src]
impl<Y> From<WdDate<Y>> for WDate<Y> where
Y: Year,