extract transport

This commit is contained in:
🪞👃🪞 2024-07-12 14:23:43 +03:00
parent 449615eea8
commit 5a9ec0a63d
12 changed files with 178 additions and 182 deletions

View file

@ -77,10 +77,6 @@ pub fn run <T> (state: Arc<RwLock<T>>) -> Usually<Arc<RwLock<T>>>
terminal_teardown()?;
Ok(state)
}
pub trait Run: Render + Handle + Send + Sync + Sized + 'static {
fn run (self) -> Usually<Arc<RwLock<Self>>> { run(Arc::new(RwLock::new(self))) }
}
impl<T: Render + Handle + Send + Sync + Sized + 'static> Run for T {}
/// Set up panic hook
pub fn panic_hook_setup () {