#[repr(C)]pub struct PyArrayMethod_Spec {
pub name: *const c_char,
pub nin: c_int,
pub nout: c_int,
pub casting: NPY_CASTING,
pub flags: NPY_ARRAYMETHOD_FLAGS,
pub dtypes: *mut *mut PyArray_DTypeMeta,
pub slots: *mut PyType_Slot,
}
Fields§
§name: *const c_char
§nin: c_int
§nout: c_int
§casting: NPY_CASTING
§flags: NPY_ARRAYMETHOD_FLAGS
§dtypes: *mut *mut PyArray_DTypeMeta
§slots: *mut PyType_Slot
Trait Implementations§
Source§impl Clone for PyArrayMethod_Spec
impl Clone for PyArrayMethod_Spec
Source§fn clone(&self) -> PyArrayMethod_Spec
fn clone(&self) -> PyArrayMethod_Spec
Returns a duplicate 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 moreimpl Copy for PyArrayMethod_Spec
Auto Trait Implementations§
impl Freeze for PyArrayMethod_Spec
impl RefUnwindSafe for PyArrayMethod_Spec
impl !Send for PyArrayMethod_Spec
impl !Sync for PyArrayMethod_Spec
impl Unpin for PyArrayMethod_Spec
impl UnwindSafe for PyArrayMethod_Spec
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