Skip to content
Snippets Groups Projects
  1. Sep 20, 2022
  2. Sep 16, 2022
    • Yaroslav Dynnikov's avatar
      feature: KVCell data strcture · 31a76282
      Yaroslav Dynnikov authored
      `KVCell` contains an optional value and provides access by key in two
      flavors:
      
      ```rust
      fn take_or_drop(&mut self, key: &K) -> Option<T>
      fn take_or_keep(&mut self, key: &K) -> Option<T>
      ```
      
      Both return `Some` value only if provided key matches the contained one.
      
      The behavior differs when the provided key doesn't match:
      - `take_or_drop` always leaves the cell empty. It supersedes
        `CachedCell` and copies its behavior.
      - `take_or_keep` retains contained value. It's a replacement for
        `JointStateLatch`.
      31a76282
  3. Sep 15, 2022
  4. Sep 14, 2022
  5. Sep 13, 2022
  6. Sep 12, 2022
  7. Sep 08, 2022
  8. Sep 02, 2022
  9. Aug 29, 2022
  10. Aug 28, 2022
  11. Aug 23, 2022
  12. Aug 19, 2022
  13. Aug 18, 2022
  14. Aug 17, 2022
  15. Aug 16, 2022
Loading