pub trait Unit: Send + Sync + Clone + Copy + PartialEq + Eq + Hash + PartialOrd + Ord {
const UNIT: NPY_DATETIMEUNIT;
const ABBREV: &'static str;
}
Expand description
Represents the datetime units supported by NumPy
Required Associated Constants§
sourceconst UNIT: NPY_DATETIMEUNIT
const UNIT: NPY_DATETIMEUNIT
The matching NumPy datetime unit code
Object Safety§
This trait is not object safe.