Skip to main content

Panel

Trait Panel 

Source
pub trait Panel {
    // Required methods
    fn title(&self) -> &str;
    fn draw(&self) -> Result<()>;
}

Required Methods§

Source

fn title(&self) -> &str

Source

fn draw(&self) -> Result<()>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§