osui 0.2.0

A TUI library for advanced uis
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! # Commands Module
//!
//! Defines built-in commands for controlling the engine.

use crate::engine::Command;

/// Command to stop the engine and terminate the application
pub struct Stop;

impl Command for Stop {
    fn as_any(&self) -> &dyn std::any::Any {
        self
    }
}