mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-27 19:26:09 +00:00
12 lines
187 B
Rust
12 lines
187 B
Rust
|
use Printer;
|
||
|
use view::View;
|
||
|
|
||
|
/// Dummy view.
|
||
|
///
|
||
|
/// Doesn't print anything. Minimal size is (1,1).
|
||
|
pub struct DummyView;
|
||
|
|
||
|
impl View for DummyView {
|
||
|
fn draw(&self, _: &Printer) {}
|
||
|
}
|