Crates.io | cloneless_cow |
lib.rs | cloneless_cow |
version | 0.1.1 |
source | src |
created_at | 2024-11-17 05:49:40.782733 |
updated_at | 2024-11-17 06:02:31.907909 |
description | A greatly-reduced implementation of Cow that does not require T to be Clone but allows for storing either a reference or an owned instance for future needs of references to T. |
homepage | |
repository | https://github.com/AustinHellerRepo/cloneless_cow |
max_upload_size | |
id | 1450910 |
size | 16,064 |
Allows for the storage of a reference or owned instance of a generic type T.
Convenient storage of a reference or owned instance, even (and especially) for types that do not implement Clone
Able to access the instance reference via .as_ref()