pub trait Precision {
    // Required method
    fn precision(&self) -> DateComponent;
}
Expand description

This trait is implemented by partial precision Date, Time and DateTime structures. Trait method returns the last fully precise DateComponent of the structure.

Required Methods§

Implementors§