Movatterモバイル変換


[0]ホーム

URL:


[][src]Traitrustpython_vm::pyobject::TryIntoRef

pub trait TryIntoRef<T> {    fntry_into_ref(self, vm: &VirtualMachine) ->PyResult<PyRef<T>>;}

Allows coercion of a types into PyRefs, so that we can write functions that can takerefs, pyobject refs or basic types.

Required methods

fntry_into_ref(self, vm: &VirtualMachine) ->PyResult<PyRef<T>>

Loading content...

Implementations on Foreign Types

implTryIntoRef<PyString> forString[src]

fntry_into_ref(self, vm: &VirtualMachine) ->PyResult<PyRef<PyString>>[src]

impl<'_>TryIntoRef<PyString> for &'_str[src]

fntry_into_ref(self, vm: &VirtualMachine) ->PyResult<PyRef<PyString>>[src]

Loading content...

Implementors

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

impl<T> TryIntoRef<T> forPyObjectRefwhere
    T:PyValue
[src]

Loading content...

[8]ページ先頭

©2009-2025 Movatter.jp