⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here
pub trait PyDescrProtocol<'p>: PyClass {
    fn __get__(
        slf: Self::Receiver,
        instance: Self::Inst,
        owner: Option<Self::Owner>
    ) -> Self::Result
    where
        Self: PyDescrGetProtocol<'p>
, { ... }
fn __set__(
        slf: Self::Receiver,
        instance: Self::Inst,
        value: Self::Value
    ) -> Self::Result
    where
        Self: PyDescrSetProtocol<'p>
, { ... } }
This is supported on crate feature pyproto only.
Expand description

Descriptor interface

Provided methods

Implementors