arcell

Crates.ioarcell
lib.rsarcell
version0.1.2
sourcesrc
created_at2023-08-30 03:22:03.001467
updated_at2023-08-30 09:04:58.891751
descriptionArc obtains internal variability
homepage
repositoryhttps://github.com/soloist-v/arcell.git
max_upload_size
id958678
size2,857
(soloist-v)

documentation

README

Arc obtains internal variability

[dependencies]
arcell = "0.1"
let a = ArcCell::new(10);
unsafe {
    let ref_mut_a = ArcCell::get_mut_uncheck( &a);
    *ref_mut_a = 11;
}
assert_eq!(*a, 11);
Commit count: 9

cargo fmt