pub struct Builtin { /* private fields */ }Expand description
A built-in indicator, ready for
Chart::add_indicator.
Trait Implementations§
Source§impl Indicator for Builtin
impl Indicator for Builtin
Source§fn outputs(&self) -> &[OutputSpec]
fn outputs(&self) -> &[OutputSpec]
The outputs, in the order of
out.column(o).Source§fn default_placement(&self) -> Placement
fn default_placement(&self) -> Placement
Where the outputs go by default.
Source§fn needs_volume(&self) -> bool
fn needs_volume(&self) -> bool
Whether the indicator reads volume;
add_indicator refuses sources
without it.Source§fn update(
&mut self,
input: &IndicatorInput<'_>,
change: DataChange,
out: &mut IndicatorOutputs,
)
fn update( &mut self, input: &IndicatorInput<'_>, change: DataChange, out: &mut IndicatorOutputs, )
Updates the outputs for
change; see the trait docs.Auto Trait Implementations§
impl !RefUnwindSafe for Builtin
impl !Sync for Builtin
impl !UnwindSafe for Builtin
impl Forget for Builtin
impl Freeze for Builtin
impl Move for Builtin
impl Send for Builtin
impl Unpin for Builtin
impl UnsafeUnpin for Builtin
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