Struct baimax::ast::Time
[−]
[src]
pub struct Time { pub hour: u8, pub minute: u8, }
Fields
hour: u8
minute: u8
Trait Implementations
impl FromStr for Time
[src]
type Err = TimeError
The associated error which can be returned from parsing.
fn from_str(i: &str) -> Result<Time, TimeError>
Parses a string s
to return a value of this type. Read more
impl Debug for Time
[src]
impl Clone for Time
[src]
fn clone(&self) -> Time
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more