1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
use std::error::Error; pub mod blit_map; pub mod canvas; pub mod config; pub mod framebuffer; pub mod gesture; pub mod input; pub mod point; pub mod prelude; pub mod streamed_data; pub mod swipe; pub mod util; pub fn run( f: impl FnMut(&mut canvas::Canvas, config::Event) -> Result<config::RunResponse, Box<dyn Error>> + 'static, ) -> Result<(), Box<dyn Error>> { config::Config::auto()?.run(f) }