pub struct App {
pub items: StatefulList<RatedRow>,
pub query_field: QueryField,
pub genre_query: String,
pub title_query: String,
pub cast_query: String,
pub country_query: String,
pub language_query: String,
pub plot_query: String,
pub item_type: ItemType,
pub logs: Vec<Log>,
pub input_mode: InputMode,
}Fields§
§items: StatefulList<RatedRow>§query_field: QueryField§genre_query: String§title_query: String§cast_query: String§country_query: String§language_query: String§plot_query: String§item_type: ItemType§logs: Vec<Log>§input_mode: InputModeImplementations§
Source§impl App
impl App
pub fn new(rows: Vec<RatedRow>) -> Self
pub fn next_item_type(&mut self)
pub fn next_query_field(&mut self)
pub fn prev_query_field(&mut self)
pub fn get_query(&self) -> &str
pub fn push_onto_query(&mut self, c: char)
pub fn pop_off_query(&mut self)
pub fn has_any_query(&self) -> bool
pub fn clear_all_queries(&mut self)
Auto Trait Implementations§
impl Freeze for App
impl RefUnwindSafe for App
impl Send for App
impl Sync for App
impl Unpin for App
impl UnsafeUnpin for App
impl UnwindSafe for App
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more