pub trait TimeTruncation: TimeBounds {
// Required methods
fn truncate_before(&mut self, lower: Self::TimePoint) -> bool;
fn truncate_after(&mut self, upper: Self::TimePoint) -> bool;
}
Required Methods§
Sourcefn truncate_before(&mut self, lower: Self::TimePoint) -> bool
fn truncate_before(&mut self, lower: Self::TimePoint) -> bool
Returns true
if something changed
Sourcefn truncate_after(&mut self, upper: Self::TimePoint) -> bool
fn truncate_after(&mut self, upper: Self::TimePoint) -> bool
Returns true
if something changed