mirror of
https://github.com/Lumither/nocturne.git
synced 2026-10-17 10:26:21 +00:00
4 lines
125 B
Rust
4 lines
125 B
Rust
pub trait TaskFunc: Fn() + Send + Sync + 'static {}
|
|
|
|
impl<T> TaskFunc for T where T: Fn() + Send + Sync + Clone + 'static {}
|