pub struct App {
pub state: TableState,
pub pages: Vec<Page>,
pub current_pages: Vec<Page>,
pub search: Vec<char>,
pub show_popup: bool,
pub popup_content: String,
/* private fields */
}
Fields§
§state: TableState
State ot the table displayed on the dock. Can be used to get the selected item.
pages: Vec<Page>
§current_pages: Vec<Page>
The pages that are displayed at any moment. Should be equal to pages at the beginning and modified by the library while filtering pages.
search: Vec<char>
Characters typed in the search bar.
show_popup: bool
§popup_content: String
Implementations§
Trait Implementations§
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§
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