pub struct DefaultPineOutput { /* private fields */ }Expand description
Default implementation of PineOutput that supports all features
Trait Implementations§
Source§impl AlertConditionOutput for DefaultPineOutput
impl AlertConditionOutput for DefaultPineOutput
Source§fn add_alertcondition(&mut self, alert: AlertCondition)
fn add_alertcondition(&mut self, alert: AlertCondition)
Record a declared alert condition.
Source§fn alertconditions(&self) -> &[AlertCondition]
fn alertconditions(&self) -> &[AlertCondition]
Every alert condition declared so far, in declaration order.
Source§impl BoxOutput for DefaultPineOutput
impl BoxOutput for DefaultPineOutput
Source§impl Clone for DefaultPineOutput
impl Clone for DefaultPineOutput
Source§fn clone(&self) -> DefaultPineOutput
fn clone(&self) -> DefaultPineOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DefaultPineOutput
impl Debug for DefaultPineOutput
Source§impl Default for DefaultPineOutput
impl Default for DefaultPineOutput
Source§fn default() -> DefaultPineOutput
fn default() -> DefaultPineOutput
Returns the “default value” for a type. Read more
Source§impl FillOutput for DefaultPineOutput
impl FillOutput for DefaultPineOutput
fn add_fill(&mut self, fill: FillObject)
fn fills(&self) -> &[FillObject]
Source§impl GlobalOutput for DefaultPineOutput
impl GlobalOutput for DefaultPineOutput
fn set_bgcolor(&mut self, color: Option<Color>)
fn set_barcolor(&mut self, color: Option<Color>)
Source§fn global_context(&self) -> &GlobalContext
fn global_context(&self) -> &GlobalContext
The accumulated chart-wide settings.
Source§impl IndicatorOutput for DefaultPineOutput
impl IndicatorOutput for DefaultPineOutput
Source§impl InputOutput for DefaultPineOutput
impl InputOutput for DefaultPineOutput
Source§impl LabelOutput for DefaultPineOutput
impl LabelOutput for DefaultPineOutput
Source§impl LineOutput for DefaultPineOutput
impl LineOutput for DefaultPineOutput
Source§fn add_line(&mut self, line: LineObject) -> usize
fn add_line(&mut self, line: LineObject) -> usize
Add a line and return its ID
Source§fn get_line_mut(&mut self, id: usize) -> Option<&mut LineObject>
fn get_line_mut(&mut self, id: usize) -> Option<&mut LineObject>
Get a mutable reference to a line by ID
Source§fn delete_line(&mut self, id: usize) -> bool
fn delete_line(&mut self, id: usize) -> bool
Delete a line by ID and return true if it existed
Source§impl LogOutput for DefaultPineOutput
impl LogOutput for DefaultPineOutput
Source§impl PineOutput for DefaultPineOutput
impl PineOutput for DefaultPineOutput
Source§impl PlotOutput for DefaultPineOutput
impl PlotOutput for DefaultPineOutput
Source§fn add_plotarrow(&mut self, arrow: Plotarrow)
fn add_plotarrow(&mut self, arrow: Plotarrow)
Add a plotarrow output
Source§fn plotarrows(&self) -> &[Plotarrow]
fn plotarrows(&self) -> &[Plotarrow]
Get all plotarrow outputs
Source§fn add_plotbar(&mut self, bar: Plotbar)
fn add_plotbar(&mut self, bar: Plotbar)
Add a plotbar output
Source§fn add_plotcandle(&mut self, candle: Plotcandle)
fn add_plotcandle(&mut self, candle: Plotcandle)
Add a plotcandle output
Source§fn plotcandles(&self) -> &[Plotcandle]
fn plotcandles(&self) -> &[Plotcandle]
Get all plotcandle outputs
Source§fn add_plotchar(&mut self, char: Plotchar)
fn add_plotchar(&mut self, char: Plotchar)
Add a plotchar output
Source§fn add_plotshape(&mut self, shape: Plotshape)
fn add_plotshape(&mut self, shape: Plotshape)
Add a plotshape output
Source§fn plotshapes(&self) -> &[Plotshape]
fn plotshapes(&self) -> &[Plotshape]
Get all plotshape outputs
Source§impl TableOutput for DefaultPineOutput
impl TableOutput for DefaultPineOutput
Auto Trait Implementations§
impl Freeze for DefaultPineOutput
impl RefUnwindSafe for DefaultPineOutput
impl Send for DefaultPineOutput
impl Sync for DefaultPineOutput
impl Unpin for DefaultPineOutput
impl UnsafeUnpin for DefaultPineOutput
impl UnwindSafe for DefaultPineOutput
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