librebro/youtube-tui
6 lines · 136 bytes
1use crate::app::app::App; 2 3pub trait SelectItem { 4 fn select(&mut self, app: App) -> (App, bool); 5 fn selectable(&self) -> bool; 6}