Skip to main content

ez_tui/inputs/
legend.rs

1use crate::Matcher;
2use derive_more::Constructor;
3
4/// A struct representing a legend for hotkeys
5#[derive(Clone, Debug, Eq, PartialEq, Constructor, Default)]
6pub struct Legend {
7    pub(crate) name: String,
8    pub(crate) matchers: Vec<Matcher>,
9}