pub struct PyMemoryView(/* private fields */);
Expand description
Represents a Python memoryview
.
Values of this type are accessed via PyO3’s smart pointers, e.g. as
Py<PyMemoryView>
or Bound<'py, PyMemoryView>
.
Implementations§
Source§impl PyMemoryView
impl PyMemoryView
Trait Implementations§
Source§impl AsPyPointer for PyMemoryView
impl AsPyPointer for PyMemoryView
Source§impl AsRef<PyAny> for PyMemoryView
impl AsRef<PyAny> for PyMemoryView
Source§impl Deref for PyMemoryView
impl Deref for PyMemoryView
Source§impl PyTypeInfo for PyMemoryView
impl PyTypeInfo for PyMemoryView
Source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
Source§fn is_type_of_bound(obj: &Bound<'_, PyAny>) -> bool
fn is_type_of_bound(obj: &Bound<'_, PyAny>) -> bool
Checks if
object
is an instance of this type or a subclass of this type.impl DerefToPyAny for PyMemoryView
Auto Trait Implementations§
impl !Freeze for PyMemoryView
impl !RefUnwindSafe for PyMemoryView
impl !Send for PyMemoryView
impl !Sync for PyMemoryView
impl Unpin for PyMemoryView
impl UnwindSafe for PyMemoryView
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