read-cell 0.1.0

Read-only Cell counterpart
Documentation
  • Coverage
  • 100%
    11 out of 11 items documented10 out of 10 items with examples
  • Size
  • Source code size: 18.16 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.16 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • zakarumych/read-cell
    2 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • zakarumych

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.