pub struct StateContext {
    pub input_text: String,
    pub cursor_position: usize,
    pub scroll_offset: (usize, usize),
    pub selected_row: Option<usize>,
    pub selected_column: usize,
    pub search_pattern: Option<String>,
    pub filter_pattern: Option<String>,
    pub fuzzy_filter_pattern: Option<String>,
    pub column_search_pattern: Option<String>,
    pub table_scroll: (usize, usize),
    pub column_widths: Vec<u16>,
    pub custom_data: HashMap<String, Value>,
}Fields§
§input_text: String§cursor_position: usize§scroll_offset: (usize, usize)§selected_row: Option<usize>§selected_column: usize§search_pattern: Option<String>§filter_pattern: Option<String>§fuzzy_filter_pattern: Option<String>§column_search_pattern: Option<String>§table_scroll: (usize, usize)§column_widths: Vec<u16>§custom_data: HashMap<String, Value>Trait Implementations§
Source§impl Clone for StateContext
 
impl Clone for StateContext
Source§fn clone(&self) -> StateContext
 
fn clone(&self) -> StateContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for StateContext
 
impl Debug for StateContext
Source§impl Default for StateContext
 
impl Default for StateContext
Source§fn default() -> StateContext
 
fn default() -> StateContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StateContext
impl RefUnwindSafe for StateContext
impl Send for StateContext
impl Sync for StateContext
impl Unpin for StateContext
impl UnwindSafe for StateContext
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more