Struct pyo3_ffi::PyGetSetDef
source · #[repr(C)]pub struct PyGetSetDef {
pub name: *mut c_char,
pub get: Option<getter>,
pub set: Option<setter>,
pub doc: *const c_char,
pub closure: *mut c_void,
}Fields§
§name: *mut c_char§get: Option<getter>§set: Option<setter>§doc: *const c_char§closure: *mut c_voidTrait Implementations§
source§impl Clone for PyGetSetDef
impl Clone for PyGetSetDef
source§fn clone(&self) -> PyGetSetDef
fn clone(&self) -> PyGetSetDef
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PyGetSetDef
impl Debug for PyGetSetDef
source§impl Default for PyGetSetDef
impl Default for PyGetSetDef
source§fn default() -> PyGetSetDef
fn default() -> PyGetSetDef
Returns the “default value” for a type. Read more
source§impl PartialEq<PyGetSetDef> for PyGetSetDef
impl PartialEq<PyGetSetDef> for PyGetSetDef
source§fn eq(&self, other: &PyGetSetDef) -> bool
fn eq(&self, other: &PyGetSetDef) -> bool
This method tests for
self and other values to be equal, and is used
by ==.