Registry / utility / cheap-clone

cheap-clone

JSON →
library0.3.0rscratesunverified

A trait which indicates that such type can be cloned cheaply.

# Cargo.toml [dependencies] cheap-clone = "0.3.0"
INSTALL
IMPORT
SIG · CHEAP-CLONE
C
cheap-clone
utilityrustv0.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CheapClone
✓ use cheap_clone::CheapClone;

Clones a cheaply-clonable type using CheapClone.

use cheap_clone::CheapClone; fn main() { let x: &str = "hello"; let y = x.cheap_clone(); println!("{}", y); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
cheap-clone — cargo add cheap-clone · libregistry