[][src]Trait pyo3::pyclass_slots::PyClassDict

pub trait PyClassDict {
    const OFFSET: Option<isize>;

    fn new() -> Self;
fn __private__(&self) -> PrivateMarker; unsafe fn clear_dict(&mut self, _py: Python<'_>) { ... } }

Represents __dict__ field for #[pyclass].

Associated Constants

const OFFSET: Option<isize>

Loading content...

Required methods

fn new() -> Self

fn __private__(&self) -> PrivateMarker

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

Loading content...

Provided methods

unsafe fn clear_dict(&mut self, _py: Python<'_>)

Loading content...

Implementors

impl PyClassDict for PyClassDictSlot[src]

impl PyClassDict for PyClassDummySlot[src]

Loading content...