#[repr(u32)]pub enum NPY_DATETIMEUNIT {
Show 14 variants
NPY_FR_Y = 0,
NPY_FR_M = 1,
NPY_FR_W = 2,
NPY_FR_D = 4,
NPY_FR_h = 5,
NPY_FR_m = 6,
NPY_FR_s = 7,
NPY_FR_ms = 8,
NPY_FR_us = 9,
NPY_FR_ns = 10,
NPY_FR_ps = 11,
NPY_FR_fs = 12,
NPY_FR_as = 13,
NPY_FR_GENERIC = 14,
}
Variants§
NPY_FR_Y = 0
NPY_FR_M = 1
NPY_FR_W = 2
NPY_FR_D = 4
NPY_FR_h = 5
NPY_FR_m = 6
NPY_FR_s = 7
NPY_FR_ms = 8
NPY_FR_us = 9
NPY_FR_ns = 10
NPY_FR_ps = 11
NPY_FR_fs = 12
NPY_FR_as = 13
NPY_FR_GENERIC = 14
Trait Implementations§
Source§impl Clone for NPY_DATETIMEUNIT
impl Clone for NPY_DATETIMEUNIT
Source§fn clone(&self) -> NPY_DATETIMEUNIT
fn clone(&self) -> NPY_DATETIMEUNIT
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NPY_DATETIMEUNIT
impl Debug for NPY_DATETIMEUNIT
Source§impl Hash for NPY_DATETIMEUNIT
impl Hash for NPY_DATETIMEUNIT
Source§impl PartialEq for NPY_DATETIMEUNIT
impl PartialEq for NPY_DATETIMEUNIT
impl Copy for NPY_DATETIMEUNIT
impl Eq for NPY_DATETIMEUNIT
impl StructuralPartialEq for NPY_DATETIMEUNIT
Auto Trait Implementations§
impl Freeze for NPY_DATETIMEUNIT
impl RefUnwindSafe for NPY_DATETIMEUNIT
impl Send for NPY_DATETIMEUNIT
impl Sync for NPY_DATETIMEUNIT
impl Unpin for NPY_DATETIMEUNIT
impl UnwindSafe for NPY_DATETIMEUNIT
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more