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