[−][src]Trait rustpython_vm::slots::SlotDescriptor
Required methods
fn descr_get(
vm: &VirtualMachine,
zelf: PyObjectRef,
obj: Option<PyObjectRef>,
cls: OptionalArg<PyObjectRef>
) -> PyResult
vm: &VirtualMachine,
zelf: PyObjectRef,
obj: Option<PyObjectRef>,
cls: OptionalArg<PyObjectRef>
) -> PyResult
Provided methods
fn get(
zelf: PyObjectRef,
obj: PyObjectRef,
cls: OptionalArg<PyObjectRef>,
vm: &VirtualMachine
) -> PyResult
zelf: PyObjectRef,
obj: PyObjectRef,
cls: OptionalArg<PyObjectRef>,
vm: &VirtualMachine
) -> PyResult
fn _zelf(zelf: PyObjectRef, vm: &VirtualMachine) -> PyResult<PyRef<Self>>
fn _unwrap(
zelf: PyObjectRef,
obj: Option<PyObjectRef>,
vm: &VirtualMachine
) -> PyResult<(PyRef<Self>, PyObjectRef)>
zelf: PyObjectRef,
obj: Option<PyObjectRef>,
vm: &VirtualMachine
) -> PyResult<(PyRef<Self>, PyObjectRef)>
fn _check(
zelf: PyObjectRef,
obj: Option<PyObjectRef>,
vm: &VirtualMachine
) -> Result<(PyRef<Self>, PyObjectRef), PyResult>
zelf: PyObjectRef,
obj: Option<PyObjectRef>,
vm: &VirtualMachine
) -> Result<(PyRef<Self>, PyObjectRef), PyResult>
fn _cls_is<T>(cls: &OptionalArg<PyObjectRef>, other: &T) -> bool where
T: IdProtocol,
T: IdProtocol,
fn __extend_py_class(ctx: &PyContext, class: &PyClassRef)
Implementors
impl SlotDescriptor for PyBuiltinMethod
[src]
fn descr_get(
vm: &VirtualMachine,
zelf: PyObjectRef,
obj: Option<PyObjectRef>,
cls: OptionalArg<PyObjectRef>
) -> PyResult
[src]
vm: &VirtualMachine,
zelf: PyObjectRef,
obj: Option<PyObjectRef>,
cls: OptionalArg<PyObjectRef>
) -> PyResult
impl SlotDescriptor for PyClassMethod
[src]
fn descr_get(
vm: &VirtualMachine,
zelf: PyObjectRef,
obj: Option<PyObjectRef>,
cls: OptionalArg<PyObjectRef>
) -> PyResult
[src]
vm: &VirtualMachine,
zelf: PyObjectRef,
obj: Option<PyObjectRef>,
cls: OptionalArg<PyObjectRef>
) -> PyResult
impl SlotDescriptor for PyFunction
[src]
fn descr_get(
vm: &VirtualMachine,
zelf: PyObjectRef,
obj: Option<PyObjectRef>,
cls: OptionalArg<PyObjectRef>
) -> PyResult
[src]
vm: &VirtualMachine,
zelf: PyObjectRef,
obj: Option<PyObjectRef>,
cls: OptionalArg<PyObjectRef>
) -> PyResult
impl SlotDescriptor for PyGetSet
[src]
fn descr_get(
vm: &VirtualMachine,
zelf: PyObjectRef,
obj: Option<PyObjectRef>,
_cls: OptionalArg<PyObjectRef>
) -> PyResult
[src]
vm: &VirtualMachine,
zelf: PyObjectRef,
obj: Option<PyObjectRef>,
_cls: OptionalArg<PyObjectRef>
) -> PyResult
impl SlotDescriptor for PyProperty
[src]
fn descr_get(
vm: &VirtualMachine,
zelf: PyObjectRef,
obj: Option<PyObjectRef>,
_cls: OptionalArg<PyObjectRef>
) -> PyResult
[src]
vm: &VirtualMachine,
zelf: PyObjectRef,
obj: Option<PyObjectRef>,
_cls: OptionalArg<PyObjectRef>
) -> PyResult
impl SlotDescriptor for PyStaticMethod
[src]
fn descr_get(
vm: &VirtualMachine,
zelf: PyObjectRef,
_obj: Option<PyObjectRef>,
_cls: OptionalArg<PyObjectRef>
) -> PyResult
[src]
vm: &VirtualMachine,
zelf: PyObjectRef,
_obj: Option<PyObjectRef>,
_cls: OptionalArg<PyObjectRef>
) -> PyResult