pub struct LineStyle {
pub stroke_color: Option<String>,
pub stroke_color_styler: Option<StyleFunction>,
pub stroke_opacity: Option<f64>,
pub stroke_weight: Option<i32>,
pub stroke_weight_styler: Option<StyleFunction>,
}
Expand description
Represents a LineStyle within a StyleSetting
This type is not used in any activity, and only used as part of another schema.
Fields§
§stroke_color: Option<String>
Color of the line in #RRGGBB format.
stroke_color_styler: Option<StyleFunction>
Column-value, gradient or buckets styler that is used to determine the line color and opacity.
stroke_opacity: Option<f64>
Opacity of the line : 0.0 (transparent) to 1.0 (opaque).
stroke_weight: Option<i32>
Width of the line in pixels.
stroke_weight_styler: Option<StyleFunction>
Column-value or bucket styler that is used to determine the width of the line.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LineStyle
impl<'de> Deserialize<'de> for LineStyle
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
impl Part for LineStyle
Auto Trait Implementations§
impl Freeze for LineStyle
impl RefUnwindSafe for LineStyle
impl Send for LineStyle
impl Sync for LineStyle
impl Unpin for LineStyle
impl UnwindSafe for LineStyle
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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