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
sourceimpl Clone for PyListObject
impl Clone for PyListObject
sourcefn clone(&self) -> PyListObject
fn clone(&self) -> PyListObject
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for PyListObject
Auto Trait Implementations
impl RefUnwindSafe for PyListObject
impl !Send for PyListObject
impl !Sync for PyListObject
impl Unpin for PyListObject
impl UnwindSafe for PyListObject
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more