Crate modified

Source
Expand description

§Modified

Simple library which allows you to track changes in your variables.

use modified::Modified;
 
let mut var = Modified::new(15);
*var = 20;
// Or
// var.set(20);
assert!(var.is_modified());

Structs§

Modified
Struct that holds value and tracks if it was modified.
Resetable
Modified value that allows to be reseted.