#[repr(u8)]pub enum NPY_TYPECHAR {
Show 28 variants
NPY_BOOLLTR = 63,
NPY_BYTELTR = 98,
NPY_UBYTELTR = 66,
NPY_SHORTLTR = 104,
NPY_USHORTLTR = 72,
NPY_INTLTR = 105,
NPY_UINTLTR = 73,
NPY_LONGLTR = 108,
NPY_ULONGLTR = 76,
NPY_LONGLONGLTR = 113,
NPY_ULONGLONGLTR = 81,
NPY_HALFLTR = 101,
NPY_FLOATLTR = 102,
NPY_DOUBLELTR = 100,
NPY_LONGDOUBLELTR = 103,
NPY_CFLOATLTR = 70,
NPY_CDOUBLELTR = 68,
NPY_CLONGDOUBLELTR = 71,
NPY_OBJECTLTR = 79,
NPY_STRINGLTR = 83,
NPY_STRINGLTR2 = 97,
NPY_UNICODELTR = 85,
NPY_VOIDLTR = 86,
NPY_DATETIMELTR = 77,
NPY_TIMEDELTALTR = 109,
NPY_CHARLTR = 99,
NPY_INTPLTR = 112,
NPY_UINTPLTR = 80,
}
Variants§
NPY_BOOLLTR = 63
NPY_BYTELTR = 98
NPY_UBYTELTR = 66
NPY_SHORTLTR = 104
NPY_USHORTLTR = 72
NPY_INTLTR = 105
NPY_UINTLTR = 73
NPY_LONGLTR = 108
NPY_ULONGLTR = 76
NPY_LONGLONGLTR = 113
NPY_ULONGLONGLTR = 81
NPY_HALFLTR = 101
NPY_FLOATLTR = 102
NPY_DOUBLELTR = 100
NPY_LONGDOUBLELTR = 103
NPY_CFLOATLTR = 70
NPY_CDOUBLELTR = 68
NPY_CLONGDOUBLELTR = 71
NPY_OBJECTLTR = 79
NPY_STRINGLTR = 83
NPY_STRINGLTR2 = 97
NPY_UNICODELTR = 85
NPY_VOIDLTR = 86
NPY_DATETIMELTR = 77
NPY_TIMEDELTALTR = 109
NPY_CHARLTR = 99
NPY_INTPLTR = 112
NPY_UINTPLTR = 80
Trait Implementations§
Source§impl Clone for NPY_TYPECHAR
impl Clone for NPY_TYPECHAR
Source§fn clone(&self) -> NPY_TYPECHAR
fn clone(&self) -> NPY_TYPECHAR
Returns a copy 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_TYPECHAR
impl Debug for NPY_TYPECHAR
impl Copy for NPY_TYPECHAR
Auto Trait Implementations§
impl Freeze for NPY_TYPECHAR
impl RefUnwindSafe for NPY_TYPECHAR
impl Send for NPY_TYPECHAR
impl Sync for NPY_TYPECHAR
impl Unpin for NPY_TYPECHAR
impl UnwindSafe for NPY_TYPECHAR
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.