Movatterモバイル変換


[0]ホーム

URL:


[][src]Type Definitionrustpython_vm::pyobject::PyObjectRef

type PyObjectRef =Rc<PyObject<dynPyObjectPayload>>;

ThePyObjectRef is one of the most used types. It is a reference to apython object. A single python object can have multiple references, andthis reference counting is accounted for by this type. Use the.clone()method to create a new reference and increment the amount of referencesto the python object by 1.

Trait Implementations

implBufferProtocol forPyObjectRef[src]

fnreadonly(&self) ->bool[src]

impl<'a, T: PyValue>From<&'aPyRef<T>> for &'aPyObjectRef[src]

fnfrom(obj: &'aPyRef<T>) -> Self[src]

impl<T: PyValue>From<PyRef<T>> forPyObjectRef[src]

fnfrom(obj:PyRef<T>) -> Self[src]

implIntoPyObject forPyObjectRef[src]

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

implItemProtocol forPyObjectRef[src]

fnget_item<T: IntoPyObject>(&self, key: T, vm: &VirtualMachine) ->PyResult[src]

fnset_item<T: IntoPyObject>(
    &self,
    key: T,
    value:PyObjectRef,
    vm: &VirtualMachine
) ->PyResult
[src]

fndel_item<T: IntoPyObject>(&self, key: T, vm: &VirtualMachine) ->PyResult[src]

implTryFromObject forPyObjectRef[src]

fntry_from_object(_vm: &VirtualMachine, obj:PyObjectRef) ->PyResult<Self>[src]

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

implTypeProtocol forPyObjectRef[src]


[8]ページ先頭

©2009-2025 Movatter.jp