[][src]Struct nf_rated::render::App

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: QueryFieldgenre_query: Stringtitle_query: Stringcast_query: Stringcountry_query: Stringlanguage_query: Stringplot_query: Stringitem_type: ItemTypelogs: Vec<Log>input_mode: InputMode

Implementations

impl App[src]

pub fn new(rows: Vec<RatedRow>) -> Self[src]

pub fn next_item_type(&mut self)[src]

pub fn next_query_field(&mut self)[src]

pub fn prev_query_field(&mut self)[src]

pub fn get_query(&self) -> &str[src]

pub fn push_onto_query(&mut self, c: char)[src]

pub fn pop_off_query(&mut self)[src]

pub fn has_any_query(&self) -> bool[src]

pub fn clear_all_queries(&mut self)[src]

Auto Trait Implementations

impl RefUnwindSafe for App

impl Send for App

impl Sync for App

impl Unpin for App

impl UnwindSafe for App

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.