LineDisplay

Trait LineDisplay 

Source
pub trait LineDisplay {
    // Required method
    fn line_display(&self, status: &Status, rect: &Rect) -> Vec<String>;
}
Expand description

Used by different kind of menu to display informations about the current menu. Most of the time it’s a few lines describing the menu actions.

Required Methods§

Source

fn line_display(&self, status: &Status, rect: &Rect) -> Vec<String>

Returns a displayable representation of the object as a vector of Strings

Implementors§