[][src]Trait rustpython_vm::slots::SlotCall

pub trait SlotCall: PyValue {
    fn call(&self, args: PyFuncArgs, vm: &VirtualMachine) -> PyResult;

    fn __extend_py_class(ctx: &PyContext, class: &PyClassRef) { ... }
}

Required methods

fn call(&self, args: PyFuncArgs, vm: &VirtualMachine) -> PyResult

Loading content...

Provided methods

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

Loading content...

Implementors

impl SlotCall for PyBuiltinFunction[src]

impl SlotCall for PyBuiltinMethod[src]

impl SlotCall for PyBoundMethod[src]

impl SlotCall for PyWeak[src]

Loading content...