[][src]Trait rustpython_vm::pyobject::PyClassImpl

pub trait PyClassImpl: PyClassDef {
    const TP_FLAGS: PyTpFlags;

    fn impl_extend_class(ctx: &PyContext, class: &PyClassRef);

    fn extend_class(ctx: &PyContext, class: &PyClassRef) { ... }
fn make_class(ctx: &PyContext) -> PyClassRef { ... }
fn make_class_with_base(ctx: &PyContext, base: PyClassRef) -> PyClassRef { ... } }

Associated Constants

const TP_FLAGS: PyTpFlags

Loading content...

Required methods

fn impl_extend_class(ctx: &PyContext, class: &PyClassRef)

Loading content...

Provided methods

fn extend_class(ctx: &PyContext, class: &PyClassRef)

fn make_class(ctx: &PyContext) -> PyClassRef

fn make_class_with_base(ctx: &PyContext, base: PyClassRef) -> PyClassRef

Loading content...

Implementors

impl PyClassImpl for PyBaseException[src]

impl PyClassImpl for PyBuiltinFunction[src]

impl PyClassImpl for PyBuiltinMethod[src]

impl PyClassImpl for PyByteArray[src]

impl PyClassImpl for PyByteArrayIterator[src]

impl PyClassImpl for PyBytes[src]

impl PyClassImpl for PyBytesIterator[src]

impl PyClassImpl for PyClassMethod[src]

impl PyClassImpl for PyComplex[src]

impl PyClassImpl for PyCoroutine[src]

impl PyClassImpl for PyCoroutineWrapper[src]

impl PyClassImpl for PyEnumerate[src]

impl PyClassImpl for PyFilter[src]

impl PyClassImpl for PyFloat[src]

impl PyClassImpl for PyBoundMethod[src]

impl PyClassImpl for PyFunction[src]

impl PyClassImpl for PyGenerator[src]

impl PyClassImpl for PyGetSet[src]

impl PyClassImpl for PyInt[src]

impl PyClassImpl for PySequenceIterator[src]

impl PyClassImpl for PyList[src]

impl PyClassImpl for PyListIterator[src]

impl PyClassImpl for PyListReverseIterator[src]

impl PyClassImpl for PyMap[src]

impl PyClassImpl for PyMappingProxy[src]

impl PyClassImpl for PyMemoryView[src]

impl PyClassImpl for PyNamespace[src]

impl PyClassImpl for PyNone[src]

impl PyClassImpl for PyBaseObject[src]

impl PyClassImpl for PyProperty[src]

impl PyClassImpl for PyRange[src]

impl PyClassImpl for PyRangeIterator[src]

impl PyClassImpl for PyFrozenSet[src]

impl PyClassImpl for PySet[src]

impl PyClassImpl for PySlice[src]

impl PyClassImpl for PyStaticMethod[src]

impl PyClassImpl for PyString[src]

impl PyClassImpl for PyStringIterator[src]

impl PyClassImpl for PyStringReverseIterator[src]

impl PyClassImpl for PySuper[src]

impl PyClassImpl for PyTraceback[src]

impl PyClassImpl for PyTuple[src]

impl PyClassImpl for PyTupleIterator[src]

impl PyClassImpl for PyWeakProxy[src]

impl PyClassImpl for PyWeak[src]

impl PyClassImpl for PyZip[src]

impl PyClassImpl for PyRef<Frame>[src]

impl PyClassImpl for PyArray[src]

impl PyClassImpl for PyArrayIter[src]

impl PyClassImpl for PySocket[src]

impl PyClassImpl for PyDictRef[src]

impl PyClassImpl for PyModuleRef[src]

impl PyClassImpl for PyClassRef[src]

Loading content...