Struct numpy::npyffi::objects::PyArrayObject
[−]
[src]
#[repr(C)]pub struct PyArrayObject { pub ob_base: PyObject, pub data: *mut c_char, pub nd: c_int, pub dimensions: *mut npy_intp, pub strides: *mut npy_intp, pub base: *mut PyObject, pub descr: *mut PyArray_Descr, pub flags: c_int, pub weakreflist: *mut PyObject, }
Fields
ob_base: PyObject
data: *mut c_char
nd: c_int
dimensions: *mut npy_intp
strides: *mut npy_intp
base: *mut PyObject
descr: *mut PyArray_Descr
flags: c_int
weakreflist: *mut PyObject
Trait Implementations
impl Copy for PyArrayObject
[src]
impl Clone for PyArrayObject
[src]
fn clone(&self) -> PyArrayObject
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more