Struct simics_api_sys::bindings::PyGetSetDef
source · #[repr(C)]pub struct PyGetSetDef {
pub name: *const c_char,
pub get: getter,
pub set: setter,
pub doc: *const c_char,
pub closure: *mut c_void,
}
Fields§
§name: *const c_char
§get: getter
§set: setter
§doc: *const c_char
§closure: *mut c_void
Trait 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§impl Hash for PyGetSetDef
impl Hash for PyGetSetDef
source§impl Ord for PyGetSetDef
impl Ord for PyGetSetDef
source§fn cmp(&self, other: &PyGetSetDef) -> Ordering
fn cmp(&self, other: &PyGetSetDef) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PyGetSetDef
impl PartialEq for PyGetSetDef
source§impl PartialOrd for PyGetSetDef
impl PartialOrd for PyGetSetDef
impl Copy for PyGetSetDef
impl Eq for PyGetSetDef
impl StructuralPartialEq for PyGetSetDef
Auto Trait Implementations§
impl Freeze for PyGetSetDef
impl RefUnwindSafe for PyGetSetDef
impl !Send for PyGetSetDef
impl !Sync for PyGetSetDef
impl Unpin for PyGetSetDef
impl UnwindSafe for PyGetSetDef
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)