Trait cpython::PyClone[][src]

pub trait PyClone: Sized {
    fn clone_ref(&self, py: Python<'_>) -> Self;
}

Required methods

fn clone_ref(&self, py: Python<'_>) -> Self[src]

Loading content...

Implementations on Foreign Types

impl<T> PyClone for Option<T> where
    T: PyClone
[src]

Loading content...

Implementors

impl PyClone for PyErr[src]

impl<T> PyClone for T where
    T: PythonObject
[src]

Loading content...