Struct pyo3_ffi::PyListObject
source · #[repr(C)]pub struct PyListObject {
pub ob_base: PyVarObject,
pub ob_item: *mut *mut PyObject,
pub allocated: Py_ssize_t,
}
Fields§
§ob_base: PyVarObject
§ob_item: *mut *mut PyObject
§allocated: Py_ssize_t
Trait Implementations§
source§impl Clone for PyListObject
impl Clone for PyListObject
source§fn clone(&self) -> PyListObject
fn clone(&self) -> PyListObject
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 PyListObject
Auto Trait Implementations§
impl Freeze for PyListObject
impl RefUnwindSafe for PyListObject
impl !Send for PyListObject
impl !Sync for PyListObject
impl Unpin for PyListObject
impl UnwindSafe for PyListObject
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