[][src]Struct plotly::charts::Candlestick

pub struct Candlestick<X, O> where
    X: Serialize,
    O: Num + Serialize
{ pub x: Vec<X>, pub open: Vec<O>, pub high: Vec<O>, pub low: Vec<O>, pub close: Vec<O>, pub type: PlotType, pub line: Option<LineSegment>, pub increasing: Direction, pub decreasing: Direction, }

Fields

x: Vec<X>open: Vec<O>high: Vec<O>low: Vec<O>close: Vec<O>type: PlotTypeline: Option<LineSegment>increasing: Directiondecreasing: Direction

Methods

impl<X, O> Candlestick<X, O> where
    X: Serialize,
    O: Num + Serialize
[src]

pub fn new(
    x: Vec<X>,
    open: Vec<O>,
    high: Vec<O>,
    low: Vec<O>,
    close: Vec<O>
) -> Box<Candlestick<X, O>>
[src]

Trait Implementations

impl<X: Debug, O: Debug> Debug for Candlestick<X, O> where
    X: Serialize,
    O: Num + Serialize
[src]

impl<X, O> Serialize for Candlestick<X, O> where
    X: Serialize,
    O: Num + Serialize,
    X: Serialize,
    O: Serialize
[src]

impl<X, Y> TraceSerialize for Candlestick<X, Y> where
    X: Serialize,
    Y: Num + Serialize
[src]

Auto Trait Implementations

impl<X, O> RefUnwindSafe for Candlestick<X, O> where
    O: RefUnwindSafe,
    X: RefUnwindSafe

impl<X, O> Send for Candlestick<X, O> where
    O: Send,
    X: Send

impl<X, O> Sync for Candlestick<X, O> where
    O: Sync,
    X: Sync

impl<X, O> Unpin for Candlestick<X, O> where
    O: Unpin,
    X: Unpin

impl<X, O> UnwindSafe for Candlestick<X, O> where
    O: UnwindSafe,
    X: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,