ToHoursDecimal

Trait ToHoursDecimal 

Source
pub trait ToHoursDecimal {
    // Required method
    fn to_hours_dec(&self) -> Decimal;
}
Expand description

Convert a TimeDelta into a Decimal based amount of hours.

Required Methods§

Source

fn to_hours_dec(&self) -> Decimal

Return a Decimal based amount of hours.

Implementations on Foreign Types§

Source§

impl ToHoursDecimal for TimeDelta

Implementors§