pub struct SearchFields {
pub fields: [SearchField; 7],
pub highlighted: usize,
}Fields§
§fields: [SearchField; 7]§highlighted: usizeImplementations§
Source§impl SearchFields
impl SearchFields
pub fn search(&self) -> &TextField
pub fn replace(&self) -> &TextField
pub fn fixed_strings(&self) -> &CheckboxField
pub fn whole_word(&self) -> &CheckboxField
pub fn match_case(&self) -> &CheckboxField
pub fn include_files(&self) -> &TextField
pub fn exclude_files(&self) -> &TextField
pub fn search_mut(&mut self) -> &mut TextField
pub fn include_files_mut(&mut self) -> &mut TextField
pub fn exclude_files_mut(&mut self) -> &mut TextField
pub fn with_values( search_field_values: &SearchFieldValues<'_>, disable_prepopulated_fields: bool, ) -> Self
pub fn highlighted_field(&self) -> &SearchField
pub fn highlighted_field_mut(&mut self) -> &mut SearchField
pub fn focus_next(&mut self, disable_prepopulated_fields: bool)
pub fn focus_prev(&mut self, disable_prepopulated_fields: bool)
pub fn errors(&self) -> Vec<AppError>
Trait Implementations§
Source§impl Clone for SearchFields
impl Clone for SearchFields
Source§fn clone(&self) -> SearchFields
fn clone(&self) -> SearchFields
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SearchFields
impl Debug for SearchFields
impl Eq for SearchFields
Source§impl PartialEq for SearchFields
impl PartialEq for SearchFields
impl StructuralPartialEq for SearchFields
Auto Trait Implementations§
impl Freeze for SearchFields
impl RefUnwindSafe for SearchFields
impl Send for SearchFields
impl Sync for SearchFields
impl Unpin for SearchFields
impl UnsafeUnpin for SearchFields
impl UnwindSafe for SearchFields
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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