[][src]Struct zzp::uurlog::Hours

pub struct Hours { /* fields omitted */ }

Implementations

impl Hours[src]

pub fn from_minutes(minutes: u32) -> Self[src]

pub fn from_hours_minutes(hours: u32, minutes: u32) -> Self[src]

pub fn total_minutes(self) -> u32[src]

pub fn hours(self) -> u32[src]

pub fn minutes(self) -> u32[src]

pub fn from_str(data: &str) -> Result<Self, HoursParseError>[src]

Trait Implementations

impl Add<&'_ Hours> for &Hours[src]

type Output = Hours

The resulting type after applying the + operator.

impl Add<Hours> for Hours[src]

type Output = Self

The resulting type after applying the + operator.

impl AddAssign<&'_ Hours> for Hours[src]

impl AddAssign<Hours> for Hours[src]

impl Clone for Hours[src]

impl Copy for Hours[src]

impl Debug for Hours[src]

impl Display for Hours[src]

impl Eq for Hours[src]

impl Hash for Hours[src]

impl Ord for Hours[src]

impl PartialEq<Hours> for Hours[src]

impl PartialOrd<Hours> for Hours[src]

impl StructuralEq for Hours[src]

impl StructuralPartialEq for Hours[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.