[][src]Trait pyo3::class::methods::PyMethods

pub trait PyMethods {
    fn py_methods() -> Vec<&'static PyMethodDefType> { ... }
}
[]

Indicates that the type T has some Python methods.

Provided methods

fn py_methods() -> Vec<&'static PyMethodDefType>[]

Returns all methods that are defined for a class.

Implementors

impl<T: HasMethodsInventory> PyMethods for T[src][+]