pub struct TuiWidgetInnerState {Show 15 fields
pub config: LevelConfig,
pub nr_items: usize,
pub selected: usize,
pub opt_timestamp_bottom: Option<DateTime<Local>>,
pub opt_timestamp_next_page: Option<DateTime<Local>>,
pub opt_timestamp_prev_page: Option<DateTime<Local>>,
pub opt_selected_target: Option<String>,
pub opt_selected_visibility_more: Option<LevelFilter>,
pub opt_selected_visibility_less: Option<LevelFilter>,
pub opt_selected_recording_more: Option<LevelFilter>,
pub opt_selected_recording_less: Option<LevelFilter>,
pub offset: usize,
pub hide_off: bool,
pub hide_target: bool,
pub focus_selected: bool,
}
Fields§
§config: LevelConfig
§nr_items: usize
§selected: usize
§opt_timestamp_bottom: Option<DateTime<Local>>
§opt_timestamp_next_page: Option<DateTime<Local>>
§opt_timestamp_prev_page: Option<DateTime<Local>>
§opt_selected_target: Option<String>
§opt_selected_visibility_more: Option<LevelFilter>
§opt_selected_visibility_less: Option<LevelFilter>
§opt_selected_recording_more: Option<LevelFilter>
§opt_selected_recording_less: Option<LevelFilter>
§offset: usize
§hide_off: bool
§hide_target: bool
§focus_selected: bool
Implementations§
Source§impl TuiWidgetInnerState
impl TuiWidgetInnerState
pub fn new() -> TuiWidgetInnerState
Trait Implementations§
Source§impl Default for TuiWidgetInnerState
impl Default for TuiWidgetInnerState
Source§fn default() -> TuiWidgetInnerState
fn default() -> TuiWidgetInnerState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TuiWidgetInnerState
impl RefUnwindSafe for TuiWidgetInnerState
impl Send for TuiWidgetInnerState
impl Sync for TuiWidgetInnerState
impl Unpin for TuiWidgetInnerState
impl UnwindSafe for TuiWidgetInnerState
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> 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