[−][src]Struct work_tock_lib::s_time::STime
Methods
impl STime
[src]
pub fn new(hr: i32, min: i32) -> Self
[src]
pub fn now() -> Self
[src]
pub fn since(then_time: Self, then_date: &NaiveDate) -> Self
[src]
Trait Implementations
impl Pestable for STime
[src]
fn from_pesto(p: Pair<Rule>) -> Result<Self, LineErr>
[src]
fn from_pestopt(po: Option<Pair<Rule>>) -> Result<Self, LineErr>
[src]
fn pest_parse(r: Rule, s: &str) -> Result<Self, LineErr>
[src]
impl Clone for STime
[src]
impl PartialOrd<STime> for STime
[src]
fn partial_cmp(&self, other: &STime) -> Option<Ordering>
[src]
fn lt(&self, other: &STime) -> bool
[src]
fn le(&self, other: &STime) -> bool
[src]
fn gt(&self, other: &STime) -> bool
[src]
fn ge(&self, other: &STime) -> bool
[src]
impl Copy for STime
[src]
impl Eq for STime
[src]
impl PartialEq<STime> for STime
[src]
impl Debug for STime
[src]
impl Display for STime
[src]
impl Sub<STime> for STime
[src]
type Output = STime
The resulting type after applying the -
operator.
fn sub(self, rhs: STime) -> STime
[src]
impl Add<STime> for STime
[src]
type Output = STime
The resulting type after applying the +
operator.
fn add(self, rhs: STime) -> STime
[src]
impl AddAssign<STime> for STime
[src]
fn add_assign(&mut self, rhs: STime)
[src]
impl SubAssign<STime> for STime
[src]
fn sub_assign(&mut self, rhs: STime)
[src]
impl FromStr for STime
[src]
Auto Trait Implementations
impl Send for STime
impl Sync for STime
impl Unpin for STime
impl UnwindSafe for STime
impl RefUnwindSafe for STime
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,