#[repr(C)]pub struct PyIntObject {
pub ob_refcnt: Py_ssize_t,
pub ob_type: *mut PyTypeObject,
pub ob_ival: c_long,
}
Fields§
§ob_refcnt: Py_ssize_t
§ob_type: *mut PyTypeObject
§ob_ival: c_long
Trait Implementations§
Source§impl Clone for PyIntObject
impl Clone for PyIntObject
Source§fn clone(&self) -> PyIntObject
fn clone(&self) -> PyIntObject
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 moreimpl Copy for PyIntObject
Auto Trait Implementations§
impl Freeze for PyIntObject
impl RefUnwindSafe for PyIntObject
impl !Send for PyIntObject
impl !Sync for PyIntObject
impl Unpin for PyIntObject
impl UnwindSafe for PyIntObject
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