7 lines
149 B
Rust
7 lines
149 B
Rust
|
use crate::render::{Surface, Display};
|
||
|
use crate::task::Task;
|
||
|
|
||
|
pub trait DisplayInit {
|
||
|
fn new_display<S: Surface>() -> impl Display<S> + Task;
|
||
|
}
|