Crate dirty

Source

Structsยง

  • Dirty wraps a value of type T with functions similiar to that of a Read/Write lock but simply sets a dirty flag on write(), reset on clear(). Use read() or deref (*dirty_variable) to access the inner value.