pub struct ResultsUI {
pub status: Status,
pub config: ResultsConfig,
pub cursor_disabled: bool,
/* private fields */
}Fields§
§status: Status§config: ResultsConfig§cursor_disabled: boolImplementations§
Source§impl ResultsUI
impl ResultsUI
pub fn new(config: ResultsConfig) -> Self
pub fn update_dimensions(&mut self, area: &Rect)
pub fn reverse(&self) -> bool
pub fn is_wrap(&self) -> bool
pub fn wrap(&mut self, wrap: bool)
pub fn toggle_col(&mut self, col_idx: usize) -> bool
pub fn cycle_col(&mut self)
pub fn end(&self) -> u32
pub fn index(&self) -> u32
pub fn cursor_prev(&mut self) -> bool
pub fn cursor_next(&mut self) -> bool
pub fn cursor_jump(&mut self, index: u32)
pub fn indentation(&self) -> usize
pub fn col(&self) -> Option<usize>
pub fn widths(&self) -> &Vec<u16>
pub fn width(&self) -> u16
pub fn match_style(&self) -> Style
pub fn max_widths(&self) -> Vec<u16>
pub fn make_table<'a, T: SSS>( &'a mut self, worker: &'a mut Worker<T>, selections: &mut Selector<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 moreSource§impl<T> MaybeExt for T
impl<T> MaybeExt for T
Source§fn maybe_take(&mut self, maybe: Option<T>)
fn maybe_take(&mut self, maybe: Option<T>)
Merge from maybe by taking.
Source§fn maybe_clone(&mut self, maybe: &Option<T>)where
T: Clone,
fn maybe_clone(&mut self, maybe: &Option<T>)where
T: Clone,
Merge from maybe by cloning.