Add task manager

This commit is contained in:
2022-07-17 00:49:18 +00:00
committed by GitHub
parent 8ff1520d63
commit 6be675bf1e
5 changed files with 213 additions and 24 deletions

6
src/ext/any.rs Normal file
View File

@@ -0,0 +1,6 @@
use std::any::Any;
pub trait AsAny<T: Any + ?Sized> {
fn as_any(&self) -> &T;
fn as_any_mut(&mut self) -> &mut T;
}

View File

@@ -1,3 +1,4 @@
pub mod any;
pub mod atomic;
pub mod cstr;
#[cfg(feature = "flagset")]