Movatterモバイル変換


[0]ホーム

URL:


[][src]Traitrustpython_vm::pyobject::IntoPyObject

pub trait IntoPyObject {    fninto_pyobject(self, vm: &VirtualMachine) ->PyResult;}

Implemented by any type that can be returned from a built-in Python function.

IntoPyObject has a blanket implementation for any built-in object payload,and should be implemented by many primitive Rust types, allowing a built-infunction to simply return abool or ausize for example.

Required methods

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult

Loading content...

Implementations on Foreign Types

implIntoPyObject forbool[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

implIntoPyObject forVec<u8>[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

implIntoPyObject forComplex64[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

implIntoPyObject forf64[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

implIntoPyObject forf32[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

implIntoPyObject forBigInt[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

implIntoPyObject forisize[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

implIntoPyObject fori8[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

implIntoPyObject fori16[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

implIntoPyObject fori32[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

implIntoPyObject fori64[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

implIntoPyObject forusize[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

implIntoPyObject foru8[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

implIntoPyObject foru16[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

implIntoPyObject foru32[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

implIntoPyObject foru64[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

implIntoPyObject for()[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

impl<T: IntoPyObject>IntoPyObject forOption<T>[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

implIntoPyObject forString[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

impl<'_>IntoPyObject for &'_str[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

impl<'_>IntoPyObject for &'_String[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

impl<A: IntoPyObject>IntoPyObject for(A,)[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

impl<A: IntoPyObject, B: IntoPyObject>IntoPyObject for(A, B)[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

impl<A: IntoPyObject, B: IntoPyObject, C: IntoPyObject>IntoPyObject for(A, B, C)[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

impl<A: IntoPyObject, B: IntoPyObject, C: IntoPyObject, D: IntoPyObject>IntoPyObject for(A, B, C, D)[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

impl<A: IntoPyObject, B: IntoPyObject, C: IntoPyObject, D: IntoPyObject, E: IntoPyObject>IntoPyObject for(A, B, C, D, E)[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

impl<A: IntoPyObject, B: IntoPyObject, C: IntoPyObject, D: IntoPyObject, E: IntoPyObject, F: IntoPyObject>IntoPyObject for(A, B, C, D, E, F)[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

impl<A: IntoPyObject, B: IntoPyObject, C: IntoPyObject, D: IntoPyObject, E: IntoPyObject, F: IntoPyObject, G: IntoPyObject>IntoPyObject for(A, B, C, D, E, F, G)[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

implIntoPyObject for ExitStatus[src]

fninto_pyobject(self, vm: &VirtualMachine) ->PyResult[src]

Loading content...

Implementors

impl IntoPyObject forPyCallable[src]

impl IntoPyObject forPyObjectRef[src]

impl<'_> IntoPyObject for &'_PyObjectRef[src]

impl<T> IntoPyObject forPyArithmaticValue<T>where
    T:IntoPyObject
[src]

impl<T> IntoPyObject forPyRef<T>[src]

impl<T> IntoPyObject forPyResult<T>where
    T:IntoPyObject
[src]

impl<T> IntoPyObject for Twhere
    T:PyValue +Sized
[src]

Loading content...

[8]ページ先頭

©2009-2025 Movatter.jp