Content-Length: 20356 | pFad | https://rustpython.github.io/website/rustpython_vm/pyobject/type.PyObjectRef.html

rustpython_vm::pyobject::PyObjectRef - Rust

[][src]Type Definition rustpython_vm::pyobject::PyObjectRef

type PyObjectRef = Rc<PyObject<dyn PyObjectPayload>>;

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

Trait Implementations

impl BufferProtocol for PyObjectRef[src]

impl<'a, T: PyValue> From<&'a PyRef<T>> for &'a PyObjectRef[src]

impl<T: PyValue> From<PyRef<T>> for PyObjectRef[src]

impl IntoPyObject for PyObjectRef[src]

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

impl ItemProtocol for PyObjectRef[src]

impl TryFromObject for PyObjectRef[src]

impl<T> TryIntoRef<T> for PyObjectRef where
    T: PyValue
[src]

impl TypeProtocol for PyObjectRef[src]









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://rustpython.github.io/website/rustpython_vm/pyobject/type.PyObjectRef.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy