Struct pyo3::pycell::PyRefMut[][src]

pub struct PyRefMut<'p, T: PyClass> { /* fields omitted */ }
Expand description

A wrapper type for a mutably borrowed value from aPyCell<T>.

See the module-level documentation for more information.

Implementations

Returns a Python token that is bound to the lifetime of the PyRefMut.

Gets a PyRef<T::BaseType>.

See PyRef::into_super for more.

Trait Implementations

Performs the conversion.

Retrieves the underlying FFI pointer (as a borrowed pointer).

Performs the conversion.

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Executes the destructor for this type. Read more

Performs the conversion.

Extracts Self from the source PyObject.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.