• Home
  • Raw
  • Download

Lines Matching defs:NaiveTime

182 pub struct NaiveTime {  struct
187 impl NaiveTime { impl
207 pub fn from_hms(hour: u32, min: u32, sec: u32) -> NaiveTime { in from_hms()
232 pub fn from_hms_opt(hour: u32, min: u32, sec: u32) -> Option<NaiveTime> { in from_hms_opt()
255 pub fn from_hms_milli(hour: u32, min: u32, sec: u32, milli: u32) -> NaiveTime { in from_hms_milli()
282 pub fn from_hms_milli_opt(hour: u32, min: u32, sec: u32, milli: u32) -> Option<NaiveTime> { in from_hms_milli_opt()
307 pub fn from_hms_micro(hour: u32, min: u32, sec: u32, micro: u32) -> NaiveTime { in from_hms_micro()
334 pub fn from_hms_micro_opt(hour: u32, min: u32, sec: u32, micro: u32) -> Option<NaiveTime> { in from_hms_micro_opt()
357 pub fn from_hms_nano(hour: u32, min: u32, sec: u32, nano: u32) -> NaiveTime { in from_hms_nano()
384 pub fn from_hms_nano_opt(hour: u32, min: u32, sec: u32, nano: u32) -> Option<NaiveTime> { in from_hms_nano_opt()
411 pub fn from_num_seconds_from_midnight(secs: u32, nano: u32) -> NaiveTime { in from_num_seconds_from_midnight()
436 pub fn from_num_seconds_from_midnight_opt(secs: u32, nano: u32) -> Option<NaiveTime> { in from_num_seconds_from_midnight_opt()
504 pub fn parse_from_str(s: &str, fmt: &str) -> ParseResult<NaiveTime> { in parse_from_str()
532 pub fn overflowing_add_signed(&self, mut rhs: OldDuration) -> (NaiveTime, i64) { in overflowing_add_signed()
617 pub fn overflowing_sub_signed(&self, rhs: OldDuration) -> (NaiveTime, i64) { in overflowing_sub_signed()
803 impl Timelike for NaiveTime { implementation
902 fn with_hour(&self, hour: u32) -> Option<NaiveTime> { in with_hour()
924 fn with_minute(&self, min: u32) -> Option<NaiveTime> { in with_minute()
948 fn with_second(&self, sec: u32) -> Option<NaiveTime> { in with_second()
985 fn with_nanosecond(&self, nano: u32) -> Option<NaiveTime> { in with_nanosecond()
1016 impl hash::Hash for NaiveTime { implementation
1078 impl Add<OldDuration> for NaiveTime { implementation
1082 fn add(self, rhs: OldDuration) -> NaiveTime { in add()
1087 impl AddAssign<OldDuration> for NaiveTime { implementation
1145 impl Sub<OldDuration> for NaiveTime { implementation
1149 fn sub(self, rhs: OldDuration) -> NaiveTime { in sub()
1154 impl SubAssign<OldDuration> for NaiveTime { implementation
1210 impl Sub<NaiveTime> for NaiveTime { implementation
1247 impl fmt::Debug for NaiveTime { implementation
1297 impl fmt::Display for NaiveTime { implementation
1322 impl str::FromStr for NaiveTime { implementation
1325 fn from_str(s: &str) -> ParseResult<NaiveTime> { in from_str()
1378 F: Fn(&str) -> Result<NaiveTime, E>, in test_decodable_json()
1427 impl Encodable for NaiveTime { implementation
1433 impl Decodable for NaiveTime { implementation
1434 fn decode<D: Decoder>(d: &mut D) -> Result<NaiveTime, D::Error> { in decode()
1462 impl ser::Serialize for NaiveTime { implementation
1480 fn visit_str<E>(self, value: &str) -> Result<NaiveTime, E> in visit_str()
1488 impl<'de> de::Deserialize<'de> for NaiveTime { implementation