| Crates.io | freezie |
| lib.rs | freezie |
| version | 1.0.0 |
| created_at | 2023-02-24 18:59:15.531003+00 |
| updated_at | 2023-02-24 18:59:15.531003+00 |
| description | freezie is a small library that disables mutation for the contained type |
| homepage | |
| repository | https://github.com/bluecatengineering/freezie |
| max_upload_size | |
| id | 793850 |
| size | 7,500 |
A wrapper type with no DerefMut impl, disallowing mutation
use freezie::Freeze;
let mut v = Freeze::new(vec![1, 2, 3]);
v.push(1); // ERROR - cannot borrow data in dereference of ...