Crates.io | modified |
lib.rs | modified |
version | 0.1.2 |
source | src |
created_at | 2021-11-21 18:26:48.412128 |
updated_at | 2021-11-21 18:36:24.554181 |
description | Keep track of changes in your variables |
homepage | |
repository | https://github.com/sy1ntexx/modified |
max_upload_size | |
id | 485398 |
size | 11,889 |
Keep track of changes in your variables. Can work without standard library by default!
[dependencies]
modified = "0.1.0"
use modified::Modified;
let mut var = Modified::new(15);
*var = 20;
// Or
// var.set(20);
assert!(var.is_modified());