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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.