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

#[repr(C)]
pub struct PyArray_Descr {
Show fields 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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.