Struct python3_sys::PyMethodDef [−][src]
#[repr(C)]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 Copy for PyMethodDefimpl Clone for PyMethodDef[src]
impl Clone for PyMethodDeffn clone(&self) -> PyMethodDef[src]
fn clone(&self) -> PyMethodDefReturns 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 Default for PyMethodDef[src]
impl Default for PyMethodDeffn default() -> PyMethodDef[src]
fn default() -> PyMethodDefReturns the "default value" for a type. Read more
Auto Trait Implementations
impl !Send for PyMethodDef
impl !Send for PyMethodDefimpl !Sync for PyMethodDef
impl !Sync for PyMethodDef