Struct pyo3::pyclass_slots::PyClassDictSlot[][src]

#[repr(transparent)]
pub struct PyClassDictSlot(_);
Expand description

Actual dict field, which holds the pointer to __dict__.

#[pyclass(dict)] automatically adds this.

Trait Implementations

Whether this __dict__ field is capable of holding a dictionary.

Initializes a PyObject __dict__ reference.

Empties the dictionary of its key-value pairs.

This trait is private to implement; this method exists to make it impossible to implement outside the crate. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.