Struct PyDictObject
#[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 PyDictValues,
}Available on crate feature
tls and neither GraalPy nor PyPy only.Fields§
§ob_base: PyObject§ma_used: isize§ma_version_tag: u64👎Deprecated:
Deprecated in Python 3.12 and will be removed in the future.
Available on non-
§Py_3_14 only.ma_keys: *mut PyDictKeysObject§ma_values: *mut PyDictValuesAvailable on
Py_3_11 only.Trait Implementations§
§impl Debug for PyDictObject
impl Debug for PyDictObject
impl PyLayout<PyDict> for PyDictObject
impl PyLayout<PyGenericAlias> for PyDictObject
impl PySizedLayout<PyDict> for PyDictObject
impl PySizedLayout<PyGenericAlias> 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 UnsafeUnpin for PyDictObject
impl UnwindSafe for PyDictObject
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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