Enum pyo3::class::methods::PyMethodType
[−]
[src]
pub enum PyMethodType { PyCFunction(PyCFunction), PyCFunctionWithKeywords(PyCFunctionWithKeywords), PyNoArgsFunction(PyNoArgsFunction), PyNewFunc(newfunc), PyInitFunc(initproc), }
Variants
PyCFunction(PyCFunction)
PyCFunctionWithKeywords(PyCFunctionWithKeywords)
PyNoArgsFunction(PyNoArgsFunction)
PyNewFunc(newfunc)
PyInitFunc(initproc)
Trait Implementations
impl Copy for PyMethodType
[src]
impl Clone for PyMethodType
[src]
fn clone(&self) -> PyMethodType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more