pub struct IndicatorLineStyle {
pub width: f32,
pub rising: Option<Color32>,
pub falling: Option<Color32>,
pub fill: Option<IndicatorFill>,
}Expand description
Width, optional direction colours and optional bottom fill of an overlay line.
Fields§
§width: f32Stroke width in logical pixels.
rising: Option<Color32>Colour on rising segments, or the study’s line colour when absent.
falling: Option<Color32>Colour on falling segments, or the study’s line colour when absent.
fill: Option<IndicatorFill>Fill from the line to the plot’s bottom.
Trait Implementations§
Source§impl Clone for IndicatorLineStyle
impl Clone for IndicatorLineStyle
Source§fn clone(&self) -> IndicatorLineStyle
fn clone(&self) -> IndicatorLineStyle
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 moreimpl Copy for IndicatorLineStyle
Source§impl Debug for IndicatorLineStyle
impl Debug for IndicatorLineStyle
Auto Trait Implementations§
impl Freeze for IndicatorLineStyle
impl RefUnwindSafe for IndicatorLineStyle
impl Send for IndicatorLineStyle
impl Sync for IndicatorLineStyle
impl Unpin for IndicatorLineStyle
impl UnsafeUnpin for IndicatorLineStyle
impl UnwindSafe for IndicatorLineStyle
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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