[−][src]Trait pyo3::class::buffer::PyBufferProtocol
Buffer protocol interface
For more information check buffer protocol c-api
Provided methods
fn bf_getbuffer(&'p self, view: *mut Py_buffer, flags: c_int) -> Self::Result where
Self: PyBufferGetBufferProtocol<'p>,
Self: PyBufferGetBufferProtocol<'p>,
fn bf_releasebuffer(&'p self, view: *mut Py_buffer) -> Self::Result where
Self: PyBufferReleaseBufferProtocol<'p>,
Self: PyBufferReleaseBufferProtocol<'p>,