#[cfg(feature="embedded-graphics")] pub mod embedded_graphics_lib; #[cfg(feature="smart-leds")] pub mod smart_leds_lib; use crate::render::{Surface, Display}; use crate::task::Task; pub trait DisplayInit { fn new_display() -> impl Display + Task; }