1 stable release

1.0.0 Feb 24, 2023

#2017 in Data structures

Download history 23/week @ 2024-03-09 19/week @ 2024-03-16 19/week @ 2024-03-23 87/week @ 2024-03-30 64/week @ 2024-04-06 11/week @ 2024-04-13 13/week @ 2024-05-11 10/week @ 2024-05-18 47/week @ 2024-05-25 49/week @ 2024-06-01 45/week @ 2024-06-08 23/week @ 2024-06-15 63/week @ 2024-06-22

202 downloads per month

MIT license

5KB
51 lines

Freezie

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 ...

lib.rs:

freezie

A wrapper type with no DerefMut impl, disallowing mutation

use domain_list::freeze::Freeze;
let mut v = Freeze::new(vec![1, 2, 3]);
v.push(1); // ERROR - cannot borrow data in dereference of ...

No runtime deps