pub enum FilterState {
Unfiltered,
Filtering,
FilterApplied,
}Expand description
FilterState describes the current filtering state on the model.
Variants§
Unfiltered
no filter set
Filtering
user is actively setting a filter
FilterApplied
a filter is applied and user is not editing filter
Implementations§
Trait Implementations§
Source§impl Clone for FilterState
impl Clone for FilterState
Source§fn clone(&self) -> FilterState
fn clone(&self) -> FilterState
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 Copy for FilterState
Source§impl Debug for FilterState
impl Debug for FilterState
Source§impl Default for FilterState
impl Default for FilterState
Source§fn default() -> FilterState
fn default() -> FilterState
Returns the “default value” for a type. Read more
impl Eq for FilterState
Source§impl PartialEq for FilterState
impl PartialEq for FilterState
impl StructuralPartialEq for FilterState
Auto Trait Implementations§
impl Freeze for FilterState
impl RefUnwindSafe for FilterState
impl Send for FilterState
impl Sync for FilterState
impl Unpin for FilterState
impl UnsafeUnpin for FilterState
impl UnwindSafe for FilterState
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