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

Methods

impl PyMethodDef
[src]

Convert PyMethodDef to Python method definition struct ffi::PyMethodDef

Trait Implementations

impl Copy for PyMethodDef
[src]

impl Clone for PyMethodDef
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PyMethodDef
[src]

Formats the value using the given formatter. Read more

impl Sync for PyMethodDef
[src]

Auto Trait Implementations

impl Send for PyMethodDef