Struct ya_relay_stack::TimeWindow
source · pub struct TimeWindow<V = f32, A = Ewma<V>>where
A: Average<V>,{ /* private fields */ }Implementations§
source§impl<V, A> TimeWindow<V, A>where
V: Zero,
A: Average<V>,
impl<V, A> TimeWindow<V, A>where V: Zero, A: Average<V>,
Trait Implementations§
source§impl<V, A> Add<TimeWindow<V, A>> for TimeWindow<V, A>where
V: Zero + Add<Output = V> + AddAssign + PartialEq + Clone,
A: Average<V> + Add<Output = A>,
impl<V, A> Add<TimeWindow<V, A>> for TimeWindow<V, A>where V: Zero + Add<Output = V> + AddAssign + PartialEq + Clone, A: Average<V> + Add<Output = A>,
§type Output = TimeWindow<V, A>
type Output = TimeWindow<V, A>
The resulting type after applying the
+ operator.source§fn add(self, rhs: TimeWindow<V, A>) -> TimeWindow<V, A>
fn add(self, rhs: TimeWindow<V, A>) -> TimeWindow<V, A>
Performs the
+ operation. Read moreAuto Trait Implementations§
impl<V, A> RefUnwindSafe for TimeWindow<V, A>where A: RefUnwindSafe, V: RefUnwindSafe,
impl<V, A> Send for TimeWindow<V, A>where A: Send, V: Send,
impl<V, A> Sync for TimeWindow<V, A>where A: Sync, V: Sync,
impl<V, A> Unpin for TimeWindow<V, A>where A: Unpin, V: Unpin,
impl<V, A> UnwindSafe for TimeWindow<V, A>where A: UnwindSafe, V: UnwindSafe,
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