pub struct TimedLinearSlopeFilter<T> { /* private fields */ }
Available on crate feature
std
only.Implementations§
Source§impl<T: Copy> TimedLinearSlopeFilter<T>
impl<T: Copy> TimedLinearSlopeFilter<T>
pub fn new(window_duration: Duration, bin_strategy: WindowBinStrategy) -> Self
pub fn add_sample(&mut self, sample: Sample<T>) -> Option<Sample<T>>
Auto Trait Implementations§
impl<T> Freeze for TimedLinearSlopeFilter<T>
impl<T> RefUnwindSafe for TimedLinearSlopeFilter<T>where
T: RefUnwindSafe,
impl<T> Send for TimedLinearSlopeFilter<T>where
T: Send,
impl<T> Sync for TimedLinearSlopeFilter<T>where
T: Sync,
impl<T> Unpin for TimedLinearSlopeFilter<T>
impl<T> UnwindSafe for TimedLinearSlopeFilter<T>where
T: RefUnwindSafe,
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