#[repr(C)]pub struct PyDictObject {
pub ob_base: PyObject,
pub ma_used: isize,
pub ma_version_tag: u64,
pub ma_keys: *mut PyDictKeysObject,
pub ma_values: *mut *mut PyObject,
}
Available on non-
GraalPy
only.Fields§
§ob_base: PyObject
§ma_used: isize
§ma_version_tag: u64
§ma_keys: *mut PyDictKeysObject
§ma_values: *mut *mut PyObject
Available on non-
Py_3_11
only.Trait Implementations§
Source§impl Debug for PyDictObject
impl Debug for PyDictObject
impl PyLayout<PyDict> for PyDictObject
impl PySizedLayout<PyDict> for PyDictObject
Auto Trait Implementations§
impl Freeze for PyDictObject
impl RefUnwindSafe for PyDictObject
impl !Send for PyDictObject
impl !Sync for PyDictObject
impl Unpin for PyDictObject
impl UnwindSafe for PyDictObject
Blanket Implementations§
Source§impl<T> AssertNotZeroSized for T
impl<T> AssertNotZeroSized for T
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more