renderbug/src/platform.rs

7 lines
149 B
Rust
Raw Normal View History

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