pub struct Filterer {
pub first_date: Date,
pub filterings: SmallVec<[Filtering; 5]>,
}
Fields§
§first_date: Date
§filterings: SmallVec<[Filtering; 5]>
Implementations§
source§impl Filterer
impl Filterer
pub fn new( args: &Args, first_date: Date, last_date: Date ) -> Result<Self, RhitError>
sourcepub fn date_filter(&self) -> Option<&DateTimeFilter>
pub fn date_filter(&self) -> Option<&DateTimeFilter>
Return the filter used in rendering to select the day to display
pub fn accepts(&mut self, line: &LogLine) -> bool
pub fn has_filters(&self) -> bool
Auto Trait Implementations§
impl RefUnwindSafe for Filterer
impl Send for Filterer
impl Sync for Filterer
impl Unpin for Filterer
impl UnwindSafe for Filterer
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