read-cell

Crates.ioread-cell
lib.rsread-cell
version0.1.0
sourcesrc
created_at2022-05-19 13:45:49.683092
updated_at2022-05-19 13:45:49.683092
descriptionRead-only Cell counterpart
homepagehttps://github.com/zakarumych/read-cell
repositoryhttps://github.com/zakarumych/read-cell
max_upload_size
id589717
size18,502
development (github:dabbotorg:development)

documentation

https://docs.rs/read-cell

README

read-cell

crates docs actions MIT/Apache loc

Provides read-only counterpart to standard Cell type. Unlike Cell, [ReadCell] cannot be used to mutate inner value, just like &T, but similar to Cell it cannot be used to get &T to the inner value.

While &Cell<T> references and &T references to the same value cannot coexist, &ReadCell<T> reference and &Cell<T> reference to the same value can coexist. As well as &ReadCell<T> reference and &T reference to the same value can coexist.

License

Licensed under either of

at your option.

Contributions

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 5

cargo fmt