pub struct FilterSource<'a> {
pub directives: &'a str,
pub display: &'a str,
}Expand description
The source strings for one filter input. directives is parsed for
matching; display is what Filter::filter_string and
Filter::startup_filter_string echo back (e.g. the group-form string a
caller expanded before building the filter). Use FilterSource::new
when the two are the same string.
Fields§
§directives: &'a str§display: &'a strImplementations§
Source§impl<'a> FilterSource<'a>
impl<'a> FilterSource<'a>
Trait Implementations§
Source§impl<'a> Clone for FilterSource<'a>
impl<'a> Clone for FilterSource<'a>
Source§fn clone(&self) -> FilterSource<'a>
fn clone(&self) -> FilterSource<'a>
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 moreimpl<'a> Copy for FilterSource<'a>
Auto Trait Implementations§
impl<'a> Freeze for FilterSource<'a>
impl<'a> RefUnwindSafe for FilterSource<'a>
impl<'a> Send for FilterSource<'a>
impl<'a> Sync for FilterSource<'a>
impl<'a> Unpin for FilterSource<'a>
impl<'a> UnsafeUnpin for FilterSource<'a>
impl<'a> UnwindSafe for FilterSource<'a>
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