[−][src]Struct work_tock_lib::s_time::STime
Implementations
impl STime
[src]
pub fn new(hr: isize, min: isize) -> Self
[src]
pub fn now() -> Self
[src]
pub fn since(
&self,
now_date: &NaiveDate,
then_time: Self,
then_date: &NaiveDate
) -> Self
[src]
&self,
now_date: &NaiveDate,
then_time: Self,
then_date: &NaiveDate
) -> Self
Trait Implementations
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 Clone for STime
[src]
impl Copy for STime
[src]
impl Debug for STime
[src]
impl Display for STime
[src]
impl Eq for STime
[src]
impl FromStr for STime
[src]
type Err = TokErr
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, TokErr>
[src]
impl PartialEq<STime> 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 StructuralEq for STime
[src]
impl StructuralPartialEq 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 SubAssign<STime> for STime
[src]
fn sub_assign(&mut self, rhs: STime)
[src]
Auto Trait Implementations
impl RefUnwindSafe for STime
impl Send for STime
impl Sync for STime
impl Unpin for STime
impl UnwindSafe for STime
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> 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>,