pub struct BandOverlay {
pub name: String,
pub upper: Vec<Option<f64>>,
pub lower: Vec<Option<f64>>,
pub color: Color,
}Expand description
Shaded band between two series (e.g. Bollinger bands) aligned to the candle index.
Fields§
§name: StringLegend name.
upper: Vec<Option<f64>>Upper bound per candle.
lower: Vec<Option<f64>>Lower bound per candle.
color: ColorShading color.
Implementations§
Source§impl BandOverlay
impl BandOverlay
Trait Implementations§
Source§impl Clone for BandOverlay
impl Clone for BandOverlay
Auto Trait Implementations§
impl Freeze for BandOverlay
impl RefUnwindSafe for BandOverlay
impl Send for BandOverlay
impl Sync for BandOverlay
impl Unpin for BandOverlay
impl UnsafeUnpin for BandOverlay
impl UnwindSafe for BandOverlay
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more