GeezerVison is showing rustpython.github.io — rustpython_vm::pyobject::PyRef - Rust pub struct PyRef<T> { /* fields omitted */ }A reference to a Python object.
Note that a PyRef<T> can only deref to a shared / immutable reference.
It is the payload type's responsibility to handle (possibly concurrent)
mutability with locks or concurrent data structures if required.
A PyRef<T> can be directly returned from a built-in function to handle
situations (such as when implementing in-place methods such as __iadd__)
where a reference to the same object must be returned.
MethodsTrait ImplementationsFormats the value using the given formatter. Read more
The resulting type after dereferencing.
Formats the value using the given formatter. Read more
Attempt to convert a Python object to a value of this type.
Auto Trait ImplementationsBlanket Implementationsimpl<T> Any for T where T: 'static + ?Sized, [src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
The range of positional arguments permitted by the function signature. Read more
Extracts this item from the next argument(s).
impl<T, U> Into<U> for T where U: From<T>, [src]
The type of the elements being iterated over.
Which kind of iterator are we turning this into?
impl<T> Same<T> for T
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into)recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String. Read more
impl<T, U> TryFrom<U> for T where U: Into<T>, [src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where V: MultiLane<T>,
|