Spaces:
Running
Running
Download rust/src/utils/tick.rs from allnewthunder/rust-sandbox: direct link, hf CLI and curl.
- Browser
- Download file 224 Bytes
-
https://huggingface.co/spaces/allnewthunder/rust-sandbox/resolve/main/rust/src/utils/tick.rs
- Command line
-
hf download hf://spaces/allnewthunder/rust-sandbox/rust/src/utils/tick.rs
-
curl -L -o tick.rs https://huggingface.co/spaces/allnewthunder/rust-sandbox/resolve/main/rust/src/utils/tick.rs
224 Bytes
| use bevy::prelude::*; | |
| /* | |
| 🦀 Resources and Components. Learn more: https://bevy-cheatbook.github.io/programming/res.html | |
| */ | |
| pub struct TickCounter { | |
| pub count: u32, | |
| pub tick_rate: u32, | |
| } | |