render: implement a generic Renderer task that can run any display
This commit is contained in:
@@ -5,8 +5,7 @@ pub mod embedded_graphics_lib;
|
||||
pub mod smart_leds_lib;
|
||||
|
||||
use crate::render::{Surface, Display};
|
||||
use crate::task::Task;
|
||||
|
||||
pub trait DisplayInit {
|
||||
fn new_display<S: Surface>() -> impl Display<S> + Task;
|
||||
fn new_display<S: Surface>() -> impl Display<S>;
|
||||
}
|
||||
|
Reference in New Issue
Block a user