cpython
0.7.2
PyClone
Required Methods
clone_ref
Implementations on Foreign Types
Option<T>
Object Safety
Implementors
In crate cpython
?
Settings
Trait
cpython
::
PyClone
Copy item path
source
·
[
−
]
pub trait PyClone:
Sized
{ // Required method fn
clone_ref
(&self, py:
Python
<'_>) -> Self; }
Required Methods
§
source
fn
clone_ref
(&self, py:
Python
<'_>) -> Self
Object Safety
§
This trait is
not
object safe
.
Implementations on Foreign Types
§
source
§
impl<T>
PyClone
for
Option
<T>
where T:
PyClone
,
source
§
fn
clone_ref
(&self, py:
Python
<'_>) ->
Option
<T>
Implementors
§
source
§
impl
PyClone
for
PyErr
source
§
impl<T>
PyClone
for T
where T:
PythonObject
,