[][src]Trait pyo3::class::proto_methods::PyProtoMethods

pub trait PyProtoMethods {
    fn async_methods() -> Option<NonNull<PyAsyncMethods>> { ... }
fn basic_methods() -> Option<NonNull<PyObjectMethods>> { ... }
fn buffer_methods() -> Option<NonNull<PyBufferProcs>> { ... }
fn descr_methods() -> Option<NonNull<PyDescrMethods>> { ... }
fn gc_methods() -> Option<NonNull<PyGCMethods>> { ... }
fn mapping_methods() -> Option<NonNull<PyMappingMethods>> { ... }
fn number_methods() -> Option<NonNull<PyNumberMethods>> { ... }
fn iter_methods() -> Option<NonNull<PyIterMethods>> { ... }
fn sequence_methods() -> Option<NonNull<PySequenceMethods>> { ... } }

Defines all method tables we need for object protocols.

Provided methods

fn async_methods() -> Option<NonNull<PyAsyncMethods>>

fn basic_methods() -> Option<NonNull<PyObjectMethods>>

fn buffer_methods() -> Option<NonNull<PyBufferProcs>>

fn descr_methods() -> Option<NonNull<PyDescrMethods>>

fn gc_methods() -> Option<NonNull<PyGCMethods>>

fn mapping_methods() -> Option<NonNull<PyMappingMethods>>

fn number_methods() -> Option<NonNull<PyNumberMethods>>

fn iter_methods() -> Option<NonNull<PyIterMethods>>

fn sequence_methods() -> Option<NonNull<PySequenceMethods>>

Loading content...

Implementors

impl<T: HasProtoRegistry> PyProtoMethods for T[src]

Loading content...