#[repr(C)]pub struct PyListObject {
pub ob_base: PyVarObject,
pub ob_item: *mut *mut PyObject,
pub allocated: isize,
}
Fields§
§ob_base: PyVarObject
§ob_item: *mut *mut PyObject
§allocated: isize
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