[][src]Trait rustpython_vm::pyobject::TypeProtocol

pub trait TypeProtocol {
    fn class(&self) -> PyClassRef;
}

Required methods

fn class(&self) -> PyClassRef

Loading content...

Implementations on Foreign Types

impl<'_, T: TypeProtocol> TypeProtocol for &'_ T[src]

Loading content...

Implementors

impl TypeProtocol for PyObjectRef[src]

impl<T> TypeProtocol for PyRef<T>[src]

impl<T: ?Sized> TypeProtocol for PyObject<T> where
    T: PyObjectPayload
[src]

Loading content...