use crate::ResourceResult;
use std::any::Any;
use std::fmt::Debug;
use std::io::Read;
pub trait Asset: Any + Send + Sync + 'static + Debug {}
impl<T: Any + Send + Sync + 'static + Debug> Asset for T {}
pub trait ErasedAssetLoader: Send + Sync + Debug {
fn load_erased(&self, reader: &mut dyn Read) -> ResourceResult<Box<dyn Any + Send + Sync>>;
}