Struct python3_sys::PyMethodDef [] [src]

pub struct PyMethodDef {
    pub ml_name: *const c_char,
    pub ml_meth: Option<PyCFunction>,
    pub ml_flags: c_int,
    pub ml_doc: *const c_char,
}

Fields

ml_name: *const c_char ml_meth: Option<PyCFunction> ml_flags: c_int ml_doc: *const c_char

Trait Implementations

impl Copy for PyMethodDef
[src]

impl Clone for PyMethodDef
[src]

fn clone(&self) -> PyMethodDef

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Default for PyMethodDef
[src]

fn default() -> PyMethodDef

Returns the "default value" for a type. Read more