Struct iso_8601::YDate [−][src]
A specific year (4.1.2.3b)
Fields
year: Y
Trait Implementations
impl<Y: Eq + Year> Eq for YDate<Y>
[src]
impl<Y: Eq + Year> Eq for YDate<Y>
impl<Y: PartialEq + Year> PartialEq for YDate<Y>
[src]
impl<Y: PartialEq + Year> PartialEq for YDate<Y>
fn eq(&self, other: &YDate<Y>) -> bool
[src]
fn eq(&self, other: &YDate<Y>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &YDate<Y>) -> bool
[src]
fn ne(&self, other: &YDate<Y>) -> bool
This method tests for !=
.
impl<Y: Clone + Year> Clone for YDate<Y>
[src]
impl<Y: Clone + Year> Clone for YDate<Y>
fn clone(&self) -> YDate<Y>
[src]
fn clone(&self) -> YDate<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 YDate<Y>
[src]
impl<Y: Debug + Year> Debug for YDate<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 YDate<Y>
[src]
impl<Y: Year> Datelike<Y> for YDate<Y>
impl FromStr for YDate
[src]
impl FromStr for YDate
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 YDate<Y> where
Y: Year,
[src]
impl<Y> Valid for YDate<Y> where
Y: Year,
impl<Y> From<YmdDate<Y>> for YDate<Y> where
Y: Year,
[src]
impl<Y> From<YmdDate<Y>> for YDate<Y> where
Y: Year,
impl<Y> From<YmDate<Y>> for YDate<Y> where
Y: Year,
[src]
impl<Y> From<YmDate<Y>> for YDate<Y> where
Y: Year,
impl<Y> From<WdDate<Y>> for YDate<Y> where
Y: Year,
YmdDate<Y>: From<WdDate<Y>>,
[src]
impl<Y> From<WdDate<Y>> for YDate<Y> where
Y: Year,
YmdDate<Y>: From<WdDate<Y>>,
impl<Y> From<ODate<Y>> for YDate<Y> where
Y: Year,
[src]
impl<Y> From<ODate<Y>> for YDate<Y> where
Y: Year,