Struct pyo3::class::methods::PyMethodDef [−][src]
pub struct PyMethodDef { pub ml_name: &'static str, pub ml_meth: PyMethodType, pub ml_flags: c_int, pub ml_doc: &'static str, }
Fields
ml_name: &'static str
ml_meth: PyMethodType
ml_flags: c_int
ml_doc: &'static str
Methods
impl PyMethodDef
[src]
impl PyMethodDef
pub fn as_method_def(&self) -> PyMethodDef
[src]
pub fn as_method_def(&self) -> PyMethodDef
Convert PyMethodDef
to Python method definition struct ffi::PyMethodDef
Trait Implementations
impl Copy for PyMethodDef
[src]
impl Copy for PyMethodDef
impl Clone for PyMethodDef
[src]
impl Clone for PyMethodDef
fn clone(&self) -> PyMethodDef
[src]
fn clone(&self) -> PyMethodDef
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for PyMethodDef
[src]
impl Debug for PyMethodDef
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Sync for PyMethodDef
[src]
impl Sync for PyMethodDef
Auto Trait Implementations
impl Send for PyMethodDef
impl Send for PyMethodDef