[][src]Struct numpy::npyffi::objects::PyArray_Descr

#[repr(C)]pub struct PyArray_Descr {
    pub ob_base: PyObject,
    pub typeobj: *mut PyTypeObject,
    pub kind: c_char,
    pub type_: c_char,
    pub byteorder: c_char,
    pub flags: c_char,
    pub type_num: c_int,
    pub elsize: c_int,
    pub alignment: c_int,
    pub subarray: *mut PyArrray_ArrayDescr,
    pub fields: *mut PyObject,
    pub names: *mut PyObject,
    pub f: *mut PyArray_ArrFuncs,
    pub metadata: *mut PyObject,
    pub c_metadata: *mut NpyAuxData,
    pub hash: npy_hash_t,
}

Fields

ob_base: PyObjecttypeobj: *mut PyTypeObjectkind: c_chartype_: c_charbyteorder: c_charflags: c_chartype_num: c_intelsize: c_intalignment: c_intsubarray: *mut PyArrray_ArrayDescrfields: *mut PyObjectnames: *mut PyObjectf: *mut PyArray_ArrFuncsmetadata: *mut PyObjectc_metadata: *mut NpyAuxDatahash: npy_hash_t

Trait Implementations

impl Clone for PyArray_Descr[src]

impl Copy for PyArray_Descr[src]

impl PyLayout<PyArrayDescr> for PyArray_Descr[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.