Struct simics_api_sys::py_method_t
source · #[repr(C)]pub struct py_method_t {
pub ob_base: PyObject,
pub func: Option<unsafe extern "C" fn()>,
pub object: *mut conf_object_t,
}
Fields§
§ob_base: PyObject
§func: Option<unsafe extern "C" fn()>
actual signature may vary
object: *mut conf_object_t
Trait Implementations§
source§impl Clone for py_method_t
impl Clone for py_method_t
source§fn clone(&self) -> py_method_t
fn clone(&self) -> py_method_t
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 py_method_t
impl Debug for py_method_t
source§impl Default for py_method_t
impl Default for py_method_t
source§impl Hash for py_method_t
impl Hash for py_method_t
source§impl Ord for py_method_t
impl Ord for py_method_t
source§fn cmp(&self, other: &py_method_t) -> Ordering
fn cmp(&self, other: &py_method_t) -> 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 py_method_t
impl PartialEq for py_method_t
source§impl PartialOrd for py_method_t
impl PartialOrd for py_method_t
impl Copy for py_method_t
impl Eq for py_method_t
impl StructuralPartialEq for py_method_t
Auto Trait Implementations§
impl Freeze for py_method_t
impl RefUnwindSafe for py_method_t
impl !Send for py_method_t
impl !Sync for py_method_t
impl Unpin for py_method_t
impl UnwindSafe for py_method_t
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
)