#[repr(C)]pub struct PyMemoryViewObject {
pub ob_refcnt: Py_ssize_t,
pub ob_type: *mut PyTypeObject,
pub base: *mut PyObject,
pub view: Py_buffer,
}
Fields§
§ob_refcnt: Py_ssize_t
§ob_type: *mut PyTypeObject
§base: *mut PyObject
§view: Py_buffer
Trait Implementations§
Source§impl Clone for PyMemoryViewObject
impl Clone for PyMemoryViewObject
Source§fn clone(&self) -> PyMemoryViewObject
fn clone(&self) -> PyMemoryViewObject
Returns a copy 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 PyMemoryViewObject
Auto Trait Implementations§
impl Freeze for PyMemoryViewObject
impl RefUnwindSafe for PyMemoryViewObject
impl !Send for PyMemoryViewObject
impl !Sync for PyMemoryViewObject
impl Unpin for PyMemoryViewObject
impl UnwindSafe for PyMemoryViewObject
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