[−][src]Struct numpy::npyffi::objects::PyArray_Descr
Fields
ob_base: PyObject
typeobj: *mut PyTypeObject
kind: c_char
type_: c_char
byteorder: c_char
flags: c_char
type_num: c_int
elsize: c_int
alignment: c_int
subarray: *mut PyArrray_ArrayDescr
fields: *mut PyObject
names: *mut PyObject
f: *mut PyArray_ArrFuncs
metadata: *mut PyObject
c_metadata: *mut NpyAuxData
hash: npy_hash_t
Trait Implementations
impl Clone for PyArray_Descr
[src]
pub fn clone(&self) -> PyArray_Descr
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PyArray_Descr
[src]
impl PyLayout<PyArrayDescr> for PyArray_Descr
[src]
pub const IS_NATIVE_TYPE: bool
[src]
pub fn get_super(&mut self) -> Option<&mut <T as PyTypeInfo>::BaseLayout>
[src]
pub unsafe fn py_init(&mut self, _value: T)
[src]
pub unsafe fn py_drop(&mut self, _py: Python<'_>)
[src]
Auto Trait Implementations
impl RefUnwindSafe for PyArray_Descr
[src]
impl !Send for PyArray_Descr
[src]
impl !Sync for PyArray_Descr
[src]
impl Unpin for PyArray_Descr
[src]
impl UnwindSafe for PyArray_Descr
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,