UpdateFunctions 0.1.6

A small package for calling a function at a desired interval
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Update Functions
A small package for calling a function at a desired interval
# Usage
```
fn main() {
let dur = Duration::new(1, 0) // One second and 0 ms
UpdateFunctions::update(dur, Update)
}

pub fn Update() {
println!("Updating!");
}
```
# Installation
In `cargo.toml`
```
UpdateFunctions = "0.1.3"
```