#[non_exhaustive]pub struct FilterOptions {
pub has_text: Option<String>,
pub has_not_text: Option<String>,
}Expand description
Options for Locator::filter (minimal).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.has_text: Option<String>§has_not_text: Option<String>Trait Implementations§
Source§impl Clone for FilterOptions
impl Clone for FilterOptions
Source§fn clone(&self) -> FilterOptions
fn clone(&self) -> FilterOptions
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 FilterOptions
impl Debug for FilterOptions
Source§impl Default for FilterOptions
impl Default for FilterOptions
Source§fn default() -> FilterOptions
fn default() -> FilterOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FilterOptions
impl RefUnwindSafe for FilterOptions
impl Send for FilterOptions
impl Sync for FilterOptions
impl Unpin for FilterOptions
impl UnsafeUnpin for FilterOptions
impl UnwindSafe for FilterOptions
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