#[repr(u8)]pub enum NPY_BYTEORDER_CHAR {
NPY_LITTLE = 60,
NPY_BIG = 62,
NPY_NATIVE = 61,
NPY_SWAP = 115,
NPY_IGNORE = 124,
}
Variants§
Implementations§
Source§impl NPY_BYTEORDER_CHAR
impl NPY_BYTEORDER_CHAR
pub const NPY_NATBYTE: Self = Self::NPY_LITTLE
pub const NPY_OPPBYTE: Self = Self::NPY_BIG
Trait Implementations§
Source§impl Clone for NPY_BYTEORDER_CHAR
impl Clone for NPY_BYTEORDER_CHAR
Source§fn clone(&self) -> NPY_BYTEORDER_CHAR
fn clone(&self) -> NPY_BYTEORDER_CHAR
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_BYTEORDER_CHAR
impl Debug for NPY_BYTEORDER_CHAR
Source§impl Hash for NPY_BYTEORDER_CHAR
impl Hash for NPY_BYTEORDER_CHAR
Source§impl PartialEq for NPY_BYTEORDER_CHAR
impl PartialEq for NPY_BYTEORDER_CHAR
impl Copy for NPY_BYTEORDER_CHAR
impl Eq for NPY_BYTEORDER_CHAR
impl StructuralPartialEq for NPY_BYTEORDER_CHAR
Auto Trait Implementations§
impl Freeze for NPY_BYTEORDER_CHAR
impl RefUnwindSafe for NPY_BYTEORDER_CHAR
impl Send for NPY_BYTEORDER_CHAR
impl Sync for NPY_BYTEORDER_CHAR
impl Unpin for NPY_BYTEORDER_CHAR
impl UnwindSafe for NPY_BYTEORDER_CHAR
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.