pub trait IndicatorOutput: PineOutput {
// Required methods
fn set_indicator(&mut self, indicator: Indicator);
fn indicator(&self) -> Option<&Indicator>;
}Expand description
Extension trait for the script’s indicator(...) declaration.
Required Methods§
Sourcefn set_indicator(&mut self, indicator: Indicator)
fn set_indicator(&mut self, indicator: Indicator)
Record the indicator declaration (a script has at most one).
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".