You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
phetch/src/view.rs

10 lines
228 B
Rust

use ui;
pub trait View {
fn respond(&mut self, key: ui::Key) -> ui::Action;
fn render(&self) -> String;
fn url(&self) -> String;
fn raw(&self) -> String;
fn term_size(&mut self, cols: usize, rows: usize);
}