Skip to main content

whole_unit

Function whole_unit 

Source
pub fn whole_unit(d: Duration) -> Unit
Expand description

Return the largest Unit which represents the duration. The value is rounded-down, but never zero.