MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / clone

Method clone

python3-sys/src/pybuffer.rs:23–25  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

21impl Clone for Py_buffer {
22 #[inline]
23 fn clone(&self) -> Self {
24 *self
25 }
26}
27impl Default for Py_buffer {
28 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected