use crate::render::{Surface, Display}; use crate::task::Task; pub trait DisplayInit { fn new_display() -> impl Display + Task; }