pub trait Next<Input> {
type Output;
// Required method
fn next(&mut self, input: Input) -> Self::Output;
}Expand description
The core trait for streaming indicators. Every indicator maintains an internal state and processes data points one by one.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
Source§impl Next<&[f64]> for MultiAssetClusterer
impl Next<&[f64]> for MultiAssetClusterer
type Output = MarketRegime
Source§impl Next<(f64, f64, f64)> for TTMSqueeze
Output of TTM Squeeze: (Momentum Histogram, Is Squeezed)
impl Next<(f64, f64, f64)> for TTMSqueeze
Output of TTM Squeeze: (Momentum Histogram, Is Squeezed)