Struct iso_8601::LocalTime [−][src]
Local time with decimal fraction (4.2.2.4)
Fields
naive: N
fraction: f32
Methods
impl LocalTime<HmsTime>
[src]
impl LocalTime<HmsTime>
pub fn nanosecond(&self) -> u32
[src]
pub fn nanosecond(&self) -> u32
impl LocalTime<HmTime>
[src]
impl LocalTime<HmTime>
impl LocalTime<HTime>
[src]
impl LocalTime<HTime>
Trait Implementations
impl<N: PartialEq> PartialEq for LocalTime<N> where
N: NaiveTime,
[src]
impl<N: PartialEq> PartialEq for LocalTime<N> where
N: NaiveTime,
fn eq(&self, other: &LocalTime<N>) -> bool
[src]
fn eq(&self, other: &LocalTime<N>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &LocalTime<N>) -> bool
[src]
fn ne(&self, other: &LocalTime<N>) -> bool
This method tests for !=
.
impl<N: Clone> Clone for LocalTime<N> where
N: NaiveTime,
[src]
impl<N: Clone> Clone for LocalTime<N> where
N: NaiveTime,
fn clone(&self) -> LocalTime<N>
[src]
fn clone(&self) -> LocalTime<N>
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<N: Debug> Debug for LocalTime<N> where
N: NaiveTime,
[src]
impl<N: Debug> Debug for LocalTime<N> where
N: NaiveTime,
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<N: NaiveTime> Timelike for LocalTime<N>
[src]
impl<N: NaiveTime> Timelike for LocalTime<N>
impl FromStr for LocalTime<HmsTime>
[src]
impl FromStr for LocalTime<HmsTime>
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 FromStr for LocalTime<HmTime>
[src]
impl FromStr for LocalTime<HmTime>
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 FromStr for LocalTime<HTime>
[src]
impl FromStr for LocalTime<HTime>
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<N> Valid for LocalTime<N> where
N: NaiveTime + Valid,
[src]
impl<N> Valid for LocalTime<N> where
N: NaiveTime + Valid,
impl From<LocalTime<HmsTime>> for LocalTime<HmTime>
[src]
impl From<LocalTime<HmsTime>> for LocalTime<HmTime>
impl From<LocalTime<HmsTime>> for LocalTime<HTime>
[src]
impl From<LocalTime<HmsTime>> for LocalTime<HTime>
impl From<LocalTime<HmTime>> for LocalTime<HTime>
[src]
impl From<LocalTime<HmTime>> for LocalTime<HTime>