pub struct FilterRow {
pub query: Option<String>,
pub structured: StructuredFilter,
}Expand description
The active-filter indicator row rendered under the tab bar.
Fields§
§query: Option<String>The active / text query (None when no text query is applied).
structured: StructuredFilterThe committed structured criteria (possibly all inactive).
Implementations§
Source§impl FilterRow
impl FilterRow
Sourcepub fn describe(&self) -> Option<String>
pub fn describe(&self) -> Option<String>
One-line description of the active filters: query first (#<n> for a
bare number), then the structured criteria — or None when nothing is
active. Display and matching both derive from number_query so they
cannot drift (D-02).
pub fn render(&self, f: &mut Frame<'_>, area: Rect)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FilterRow
impl RefUnwindSafe for FilterRow
impl Send for FilterRow
impl Sync for FilterRow
impl Unpin for FilterRow
impl UnsafeUnpin for FilterRow
impl UnwindSafe for FilterRow
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