pub struct HlcAreaStyle {
pub fill_opacity: f32,
pub line_width: f32,
}Expand description
The HLC area chart’s fill and close line. The fills take the chart’s bullish and bearish colours and the close line its bullish colour.
Fields§
§fill_opacity: f32Opacity of the high-to-close and close-to-low fills, 0 to 1. Values outside the range are clamped; a non-finite opacity draws no fill.
line_width: f32Close line width in logical points. Non-positive or non-finite widths hide the line.
Trait Implementations§
Source§impl Clone for HlcAreaStyle
impl Clone for HlcAreaStyle
Source§fn clone(&self) -> HlcAreaStyle
fn clone(&self) -> HlcAreaStyle
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 HlcAreaStyle
Source§impl Debug for HlcAreaStyle
impl Debug for HlcAreaStyle
Source§impl Default for HlcAreaStyle
impl Default for HlcAreaStyle
Source§impl<'de> Deserialize<'de> for HlcAreaStylewhere
HlcAreaStyle: Default,
impl<'de> Deserialize<'de> for HlcAreaStylewhere
HlcAreaStyle: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HlcAreaStyle
impl PartialEq for HlcAreaStyle
Source§impl Serialize for HlcAreaStyle
impl Serialize for HlcAreaStyle
impl StructuralPartialEq for HlcAreaStyle
Auto Trait Implementations§
impl Freeze for HlcAreaStyle
impl RefUnwindSafe for HlcAreaStyle
impl Send for HlcAreaStyle
impl Sync for HlcAreaStyle
impl Unpin for HlcAreaStyle
impl UnsafeUnpin for HlcAreaStyle
impl UnwindSafe for HlcAreaStyle
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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