Struct criterion_plot::candlestick::Candlesticks
source · [−]pub struct Candlesticks<X, WM, BM, BH, WH> {
pub x: X,
pub whisker_min: WM,
pub box_min: BM,
pub box_high: BH,
pub whisker_high: WH,
}
Expand description
A candlestick consists of a box and two whiskers that extend beyond the box
Fields
x: X
X coordinate of the candlestick
whisker_min: WM
Y coordinate of the end point of the bottom whisker
box_min: BM
Y coordinate of the bottom of the box
box_high: BH
Y coordinate of the top of the box
whisker_high: WH
Y coordinate of the end point of the top whisker
Trait Implementations
sourceimpl<X, WM, BM, BH, WH> Plot<Candlesticks<X, WM, BM, BH, WH>> for Figurewhere
BH: IntoIterator,
BH::Item: Data,
BM: IntoIterator,
BM::Item: Data,
WH: IntoIterator,
WH::Item: Data,
WM: IntoIterator,
WM::Item: Data,
X: IntoIterator,
X::Item: Data,
impl<X, WM, BM, BH, WH> Plot<Candlesticks<X, WM, BM, BH, WH>> for Figurewhere
BH: IntoIterator,
BH::Item: Data,
BM: IntoIterator,
BM::Item: Data,
WH: IntoIterator,
WH::Item: Data,
WM: IntoIterator,
WM::Item: Data,
X: IntoIterator,
X::Item: Data,
type Properties = Properties
type Properties = Properties
The properties associated to the plot
sourcefn plot<F>(
&mut self,
candlesticks: Candlesticks<X, WM, BM, BH, WH>,
configure: F
) -> &mut Figurewhere
F: FnOnce(&mut Properties) -> &mut Properties,
fn plot<F>(
&mut self,
candlesticks: Candlesticks<X, WM, BM, BH, WH>,
configure: F
) -> &mut Figurewhere
F: FnOnce(&mut Properties) -> &mut Properties,
Plots some data
with some configuration
Auto Trait Implementations
impl<X, WM, BM, BH, WH> RefUnwindSafe for Candlesticks<X, WM, BM, BH, WH>where
BH: RefUnwindSafe,
BM: RefUnwindSafe,
WH: RefUnwindSafe,
WM: RefUnwindSafe,
X: RefUnwindSafe,
impl<X, WM, BM, BH, WH> Send for Candlesticks<X, WM, BM, BH, WH>where
BH: Send,
BM: Send,
WH: Send,
WM: Send,
X: Send,
impl<X, WM, BM, BH, WH> Sync for Candlesticks<X, WM, BM, BH, WH>where
BH: Sync,
BM: Sync,
WH: Sync,
WM: Sync,
X: Sync,
impl<X, WM, BM, BH, WH> Unpin for Candlesticks<X, WM, BM, BH, WH>where
BH: Unpin,
BM: Unpin,
WH: Unpin,
WM: Unpin,
X: Unpin,
impl<X, WM, BM, BH, WH> UnwindSafe for Candlesticks<X, WM, BM, BH, WH>where
BH: UnwindSafe,
BM: UnwindSafe,
WH: UnwindSafe,
WM: UnwindSafe,
X: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more