pub struct ResultsUI {
pub status: Status,
pub config: ResultsConfig,
/* private fields */
}Fields§
§status: Status§config: ResultsConfigImplementations§
Source§impl ResultsUI
impl ResultsUI
pub fn new(config: ResultsConfig) -> Self
pub fn col(&self) -> Option<usize>
pub fn widths(&self) -> &Vec<u16>
pub fn toggle_col(&mut self, col_idx: usize) -> bool
pub fn reverse(&self) -> bool
pub fn update_dimensions(&mut self, area: &Rect)
pub fn cursor_prev(&mut self) -> bool
pub fn cursor_next(&mut self) -> bool
pub fn cursor_jump(&mut self, index: u32)
pub fn end(&self) -> u32
pub fn index(&self) -> u32
pub fn make_table<'a, T: PickerItem, C: 'a>( &'a mut self, worker: &'a mut Worker<T, C>, selections: &mut SelectionSet<T, impl Selection>, matcher: &mut Matcher, ) -> Table<'a>
pub fn make_status(&self) -> Paragraph<'_>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResultsUI
impl RefUnwindSafe for ResultsUI
impl Send for ResultsUI
impl Sync for ResultsUI
impl Unpin for ResultsUI
impl UnwindSafe for ResultsUI
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> 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