mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-07-08 01:32:41 +08:00
Add task manager
This commit is contained in:
6
src/ext/any.rs
Normal file
6
src/ext/any.rs
Normal 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;
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
pub mod any;
|
||||
pub mod atomic;
|
||||
pub mod cstr;
|
||||
#[cfg(feature = "flagset")]
|
||||
|
||||
Reference in New Issue
Block a user