mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2026-07-17 07:56:56 +02:00
8 lines
169 B
Rust
8 lines
169 B
Rust
use super::*;
|
|
|
|
/// Emit a [Draw]able.
|
|
///
|
|
/// Speculative. How to avoid conflicts with [Draw] proper?
|
|
pub trait View<T: Screen> {
|
|
fn view (&self) -> impl Draw<T>;
|
|
}
|