#[repr(C)]pub struct PyListObject {
pub ob_base: PyVarObject,
pub ob_item: *mut *mut PyObject,
pub allocated: Py_ssize_t,
}
Available on non-
Py_LIMITED_API
and neither PyPy
nor GraalPy
only.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
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
)