pub enum FilterCriterion {
Values {
values: Vec<String>,
blanks: bool,
},
Custom {
a: (String, String),
b: Option<(String, String)>,
and: bool,
},
Top10 {
bottom: bool,
percent: bool,
count: u32,
},
AboveAverage(bool),
FillColor(Color),
FontColor(Color),
Icon {
set: String,
id: Option<u32>,
},
}Variants§
Values
Show rows whose display text is one of these (case-insensitive); blanks includes empty.
Custom
Custom: one or two comparisons (op like >=, =*abc*), joined by and/or.
Top10
AboveAverage(bool)
FillColor(Color)
FontColor(Color)
Icon
Rows whose cell shows icon id (0-based; None = no icon) of conditional-format icon set
set (iconFilter). Kept from files; re-applying the filter leaves those rows as they are.
Trait Implementations§
Source§impl Clone for FilterCriterion
impl Clone for FilterCriterion
Source§fn clone(&self) -> FilterCriterion
fn clone(&self) -> FilterCriterion
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 FilterCriterion
impl Debug for FilterCriterion
Source§impl<'de> Deserialize<'de> for FilterCriterion
impl<'de> Deserialize<'de> for FilterCriterion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FilterCriterion
impl PartialEq for FilterCriterion
Source§impl Serialize for FilterCriterion
impl Serialize for FilterCriterion
impl StructuralPartialEq for FilterCriterion
Auto Trait Implementations§
impl Freeze for FilterCriterion
impl RefUnwindSafe for FilterCriterion
impl Send for FilterCriterion
impl Sync for FilterCriterion
impl Unpin for FilterCriterion
impl UnsafeUnpin for FilterCriterion
impl UnwindSafe for FilterCriterion
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