pub struct SearchViewParts {
pub root: Revealer,
pub search_entry: SearchEntry,
pub search_mode: DropDown,
pub search_button: Button,
pub clear_button: Button,
pub filters: FilterWidgets,
}Expand description
UI widgets for the dedicated search form.
root is a gtk::Revealer intended to sit between the controls
bar and the content_stack in the main layout. When revealed, it
shows the search entry, mode selector, collapsible filters, and
action buttons. Search results go into the existing grid.
Fields§
§root: RevealerRevealer wrapping the entire search form. Inserted into the content pane above the content_stack.
search_entry: SearchEntry§search_mode: DropDown§filters: FilterWidgetsAuto Trait Implementations§
impl !Send for SearchViewParts
impl !Sync for SearchViewParts
impl Freeze for SearchViewParts
impl RefUnwindSafe for SearchViewParts
impl Unpin for SearchViewParts
impl UnsafeUnpin for SearchViewParts
impl UnwindSafe for SearchViewParts
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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