Skip to main content

SeriesOption

Struct SeriesOption 

Source
pub struct SeriesOption {
Show 46 fields pub kind: SeriesType, pub name: String, pub data: Vec<DataValue>, pub x_axis_index: Option<usize>, pub y_axis_index: Option<usize>, pub polar_index: Option<usize>, pub radar_index: Option<usize>, pub geo_index: Option<usize>, pub calendar_index: Option<usize>, pub dataset_index: Option<usize>, pub stack: Option<String>, pub z: Option<i32>, pub zlevel: Option<i32>, pub silent: bool, pub show: bool, pub animation: Option<bool>, pub item_style: Option<ItemStyleOption>, pub line_style: Option<LineStyleOption>, pub label: Option<LabelOption>, pub label_layout: Option<LabelLayoutOption>, pub emphasis: Option<EmphasisOption>, pub blur: Option<BlurOption>, pub mark_point: Option<MarkPointOption>, pub mark_line: Option<MarkLineOption>, pub mark_area: Option<MarkAreaOption>, pub color: Option<String>, pub bar: Option<BarOptions>, pub line: Option<LineOptions>, pub pie: Option<PieOptions>, pub scatter: Option<ScatterOptions>, pub radar: Option<RadarOptions>, pub gauge: Option<GaugeOptions>, pub funnel: Option<FunnelOptions>, pub heatmap: Option<HeatmapOptions>, pub graph: Option<GraphOptions>, pub treemap: Option<TreemapOptions>, pub sunburst: Option<SunburstOptions>, pub boxplot: Option<BoxplotOptions>, pub candlestick: Option<CandlestickOptions>, pub theme_river: Option<ThemeRiverOptions>, pub sankey: Option<SankeyOptions>, pub parallel: Option<ParallelOptions>, pub pictorial_bar: Option<PictorialBarOptions>, pub lines: Option<LinesOptions>, pub map: Option<MapOptions>, pub custom: Option<CustomOptions>,
}
Expand description

The options of one series.

One type covers every ECharts series kind: the fields that only make sense for some kinds are grouped into the matching options struct, and the renderer ignores the ones that do not apply to its kind.

Fields§

§kind: SeriesType

The kind of the series.

§name: String

The name of the series, used by the legend and the tooltip.

§data: Vec<DataValue>

The data of the series.

§x_axis_index: Option<usize>

The index of the x-axis the series is bound to.

§y_axis_index: Option<usize>

The index of the y-axis the series is bound to.

§polar_index: Option<usize>

The index of the polar coordinate system the series is bound to.

§radar_index: Option<usize>

The index of the radar coordinate system the series is bound to.

§geo_index: Option<usize>

The index of the geo component the series is bound to.

§calendar_index: Option<usize>

The index of the calendar component the series is bound to.

§dataset_index: Option<usize>

The name of the dataset the series draws its data from.

§stack: Option<String>

The stack the series is stacked in.

§z: Option<i32>

The paint order of the series.

§zlevel: Option<i32>

The canvas layer the series is drawn on.

§silent: bool

Whether the series ignores pointer events.

§show: bool

Whether the series is drawn at all.

§animation: Option<bool>

Whether the series is animated.

§item_style: Option<ItemStyleOption>

The fill of the series’ shapes.

§line_style: Option<LineStyleOption>

The stroke of the series’ shapes.

§label: Option<LabelOption>

The label of the series’ data points.

§label_layout: Option<LabelLayoutOption>

The rules that move the series’ labels out of each other’s way.

§emphasis: Option<EmphasisOption>

The style applied when a data point is highlighted.

§blur: Option<BlurOption>

The style applied when a data point is not highlighted.

§mark_point: Option<MarkPointOption>

The mark drawn at the series’ data points.

§mark_line: Option<MarkLineOption>

The line drawn across the series.

§mark_area: Option<MarkAreaOption>

The area highlighted across the series.

§color: Option<String>

The colour of the series, overriding the theme.

§bar: Option<BarOptions>

The options specific to a bar series.

§line: Option<LineOptions>

The options specific to a line series.

§pie: Option<PieOptions>

The options specific to a pie series.

§scatter: Option<ScatterOptions>

The options specific to a scatter series.

§radar: Option<RadarOptions>

The options specific to a radar series.

§gauge: Option<GaugeOptions>

The options specific to a gauge series.

§funnel: Option<FunnelOptions>

The options specific to a funnel series.

§heatmap: Option<HeatmapOptions>

The options specific to a heatmap series.

§graph: Option<GraphOptions>

The options specific to a graph series.

§treemap: Option<TreemapOptions>

The options specific to a treemap series.

§sunburst: Option<SunburstOptions>

The options specific to a sunburst series.

§boxplot: Option<BoxplotOptions>

The options specific to a boxplot series.

§candlestick: Option<CandlestickOptions>

The options specific to a candlestick series.

§theme_river: Option<ThemeRiverOptions>

The options specific to a theme-river series.

§sankey: Option<SankeyOptions>

The options specific to a sankey series.

§parallel: Option<ParallelOptions>

The options specific to a parallel-coordinates series.

§pictorial_bar: Option<PictorialBarOptions>

The options specific to a pictorial-bar series.

§lines: Option<LinesOptions>

The options specific to a lines series.

§map: Option<MapOptions>

The options specific to a map series.

§custom: Option<CustomOptions>

The options specific to a custom series.

Implementations§

Source§

impl SeriesOption

Inherent implementation of SeriesOption.

Source

pub fn line() -> Self

Returns a line series.

Source

pub fn bar() -> Self

Returns a bar series.

Source

pub fn pie() -> Self

Returns a pie series.

Source

pub fn scatter() -> Self

Returns a scatter series.

Source

pub fn effect_scatter() -> Self

Returns an effect-scatter series.

Source

pub fn radar() -> Self

Returns a radar series.

Source

pub fn gauge() -> Self

Returns a gauge series.

Source

pub fn funnel() -> Self

Returns a funnel series.

Source

pub fn heatmap() -> Self

Returns a heatmap series.

Source

pub fn graph() -> Self

Returns a graph series.

Source

pub fn treemap() -> Self

Returns a treemap series.

Source

pub fn sunburst() -> Self

Returns a sunburst series.

Source

pub fn boxplot() -> Self

Returns a boxplot series.

Source

pub fn candlestick() -> Self

Returns a candlestick series.

Source

pub fn theme_river() -> Self

Returns a theme-river series.

Source

pub fn sankey() -> Self

Returns a sankey series.

Source

pub fn parallel() -> Self

Returns a parallel-coordinates series.

Source

pub fn pictorial_bar() -> Self

Returns a pictorial-bar series.

Source

pub fn lines() -> Self

Returns a lines series.

Source

pub fn map() -> Self

Returns a map series.

Source

pub fn custom() -> Self

Returns a custom series.

Source

pub fn name(self, name: &str) -> Self

Sets the name of the series.

§Arguments
  • &str - Shared reference to a str.
Source

pub fn data(self, data: Vec<DataValue>) -> Self

Sets the data of the series.

§Arguments
  • Vec<DataValue> - A Vec<DataValue> parameter.
Source

pub fn add_data(&mut self, value: DataValue) -> &mut Self

Adds one data point to the series.

The method borrows the series instead of consuming it, so that a long series can be built in a loop without moving the data around on every step.

§Arguments
  • DataValue - A DataValue parameter.
§Returns
  • &mut Self - A mut Self value.
Source

pub fn stack(self, stack: &str) -> Self

Sets the stack the series is stacked in.

§Arguments
  • &str - Shared reference to a str.
Source

pub fn x_axis_index(self, index: usize) -> Self

Binds the series to an x-axis.

§Arguments
  • usize - A non-negative integer (usize).
Source

pub fn y_axis_index(self, index: usize) -> Self

Binds the series to a y-axis.

§Arguments
  • usize - A non-negative integer (usize).
Source

pub fn item_style(self, item_style: ItemStyleOption) -> Self

Sets the fill of the series’ shapes.

§Arguments
  • ItemStyleOption - A ItemStyleOption parameter.
Source

pub fn line_style(self, line_style: LineStyleOption) -> Self

Sets the stroke of the series’ shapes.

§Arguments
  • LineStyleOption - A LineStyleOption parameter.
Source

pub fn label(self, label: LabelOption) -> Self

Sets the label of the series’ data points.

§Arguments
  • LabelOption - A LabelOption parameter.
Source

pub fn emphasis(self, emphasis: EmphasisOption) -> Self

Sets the style applied when a data point is highlighted.

§Arguments
  • EmphasisOption - A EmphasisOption parameter.
Source

pub fn bar_options(self, options: BarOptions) -> Self

Sets the options specific to a bar series.

§Arguments
  • BarOptions - A BarOptions parameter.
Source

pub fn line_options(self, options: LineOptions) -> Self

Sets the options specific to a line series.

§Arguments
  • LineOptions - A LineOptions parameter.
Source

pub fn pie_options(self, options: PieOptions) -> Self

Sets the options specific to a pie series.

§Arguments
  • PieOptions - A PieOptions parameter.
Source

pub fn scatter_options(self, options: ScatterOptions) -> Self

Sets the options specific to a scatter series.

§Arguments
  • ScatterOptions - A ScatterOptions parameter.
Source

pub fn radar_options(self, options: RadarOptions) -> Self

Sets the options specific to a radar series.

§Arguments
  • RadarOptions - A RadarOptions parameter.
Source

pub fn gauge_options(self, options: GaugeOptions) -> Self

Sets the options specific to a gauge series.

§Arguments
  • GaugeOptions - A GaugeOptions parameter.
Source

pub fn funnel_options(self, options: FunnelOptions) -> Self

Sets the options specific to a funnel series.

§Arguments
  • FunnelOptions - A FunnelOptions parameter.
Source

pub fn heatmap_options(self, options: HeatmapOptions) -> Self

Sets the options specific to a heatmap series.

§Arguments
  • HeatmapOptions - A HeatmapOptions parameter.
Source

pub fn is_line_like(&self) -> bool

Returns true when the series draws a line between its points.

§Returns
  • bool - A boolean.
Source

pub fn has_area(&self) -> bool

Returns true when the series draws an area under its points.

§Returns
  • bool - A boolean.
Source§

impl SeriesOption

Source

pub fn get_kind(&self) -> SeriesType

Source

pub fn get_mut_kind(&mut self) -> &mut SeriesType

Source

pub fn set_kind(&mut self, val: SeriesType) -> &mut Self

Source

pub fn get_name(&self) -> &String

Source

pub fn get_mut_name(&mut self) -> &mut String

Source

pub fn set_name(&mut self, val: String) -> &mut Self

Source

pub fn get_data(&self) -> &Vec<DataValue>

Source

pub fn get_mut_data(&mut self) -> &mut Vec<DataValue>

Source

pub fn set_data(&mut self, val: Vec<DataValue>) -> &mut Self

Source

pub fn get_x_axis_index(&self) -> Option<usize>

Source

pub fn try_get_x_axis_index(&self) -> Option<usize>

Source

pub fn get_mut_x_axis_index(&mut self) -> &mut Option<usize>

Source

pub fn set_x_axis_index(&mut self, val: Option<usize>) -> &mut Self

Source

pub fn get_y_axis_index(&self) -> Option<usize>

Source

pub fn try_get_y_axis_index(&self) -> Option<usize>

Source

pub fn get_mut_y_axis_index(&mut self) -> &mut Option<usize>

Source

pub fn set_y_axis_index(&mut self, val: Option<usize>) -> &mut Self

Source

pub fn get_polar_index(&self) -> Option<usize>

Source

pub fn try_get_polar_index(&self) -> Option<usize>

Source

pub fn get_mut_polar_index(&mut self) -> &mut Option<usize>

Source

pub fn set_polar_index(&mut self, val: Option<usize>) -> &mut Self

Source

pub fn get_radar_index(&self) -> Option<usize>

Source

pub fn try_get_radar_index(&self) -> Option<usize>

Source

pub fn get_mut_radar_index(&mut self) -> &mut Option<usize>

Source

pub fn set_radar_index(&mut self, val: Option<usize>) -> &mut Self

Source

pub fn get_geo_index(&self) -> Option<usize>

Source

pub fn try_get_geo_index(&self) -> Option<usize>

Source

pub fn get_mut_geo_index(&mut self) -> &mut Option<usize>

Source

pub fn set_geo_index(&mut self, val: Option<usize>) -> &mut Self

Source

pub fn get_calendar_index(&self) -> Option<usize>

Source

pub fn try_get_calendar_index(&self) -> Option<usize>

Source

pub fn get_mut_calendar_index(&mut self) -> &mut Option<usize>

Source

pub fn set_calendar_index(&mut self, val: Option<usize>) -> &mut Self

Source

pub fn get_dataset_index(&self) -> Option<usize>

Source

pub fn try_get_dataset_index(&self) -> Option<usize>

Source

pub fn get_mut_dataset_index(&mut self) -> &mut Option<usize>

Source

pub fn set_dataset_index(&mut self, val: Option<usize>) -> &mut Self

Source

pub fn get_stack(&self) -> Option<String>

Source

pub fn try_get_stack(&self) -> Option<String>

Source

pub fn get_mut_stack(&mut self) -> &mut Option<String>

Source

pub fn set_stack(&mut self, val: Option<String>) -> &mut Self

Source

pub fn get_z(&self) -> Option<i32>

Source

pub fn try_get_z(&self) -> Option<i32>

Source

pub fn get_mut_z(&mut self) -> &mut Option<i32>

Source

pub fn set_z(&mut self, val: Option<i32>) -> &mut Self

Source

pub fn get_zlevel(&self) -> Option<i32>

Source

pub fn try_get_zlevel(&self) -> Option<i32>

Source

pub fn get_mut_zlevel(&mut self) -> &mut Option<i32>

Source

pub fn set_zlevel(&mut self, val: Option<i32>) -> &mut Self

Source

pub fn get_silent(&self) -> bool

Source

pub fn get_mut_silent(&mut self) -> &mut bool

Source

pub fn set_silent(&mut self, val: bool) -> &mut Self

Source

pub fn get_show(&self) -> bool

Source

pub fn get_mut_show(&mut self) -> &mut bool

Source

pub fn set_show(&mut self, val: bool) -> &mut Self

Source

pub fn get_animation(&self) -> Option<bool>

Source

pub fn try_get_animation(&self) -> Option<bool>

Source

pub fn get_mut_animation(&mut self) -> &mut Option<bool>

Source

pub fn set_animation(&mut self, val: Option<bool>) -> &mut Self

Source

pub fn get_item_style(&self) -> Option<ItemStyleOption>

Source

pub fn try_get_item_style(&self) -> Option<ItemStyleOption>

Source

pub fn get_mut_item_style(&mut self) -> &mut Option<ItemStyleOption>

Source

pub fn set_item_style(&mut self, val: Option<ItemStyleOption>) -> &mut Self

Source

pub fn get_line_style(&self) -> Option<LineStyleOption>

Source

pub fn try_get_line_style(&self) -> Option<LineStyleOption>

Source

pub fn get_mut_line_style(&mut self) -> &mut Option<LineStyleOption>

Source

pub fn set_line_style(&mut self, val: Option<LineStyleOption>) -> &mut Self

Source

pub fn get_label(&self) -> Option<LabelOption>

Source

pub fn try_get_label(&self) -> Option<LabelOption>

Source

pub fn get_mut_label(&mut self) -> &mut Option<LabelOption>

Source

pub fn set_label(&mut self, val: Option<LabelOption>) -> &mut Self

Source

pub fn get_label_layout(&self) -> Option<LabelLayoutOption>

Source

pub fn try_get_label_layout(&self) -> Option<LabelLayoutOption>

Source

pub fn get_mut_label_layout(&mut self) -> &mut Option<LabelLayoutOption>

Source

pub fn set_label_layout(&mut self, val: Option<LabelLayoutOption>) -> &mut Self

Source

pub fn get_emphasis(&self) -> Option<EmphasisOption>

Source

pub fn try_get_emphasis(&self) -> Option<EmphasisOption>

Source

pub fn get_mut_emphasis(&mut self) -> &mut Option<EmphasisOption>

Source

pub fn set_emphasis(&mut self, val: Option<EmphasisOption>) -> &mut Self

Source

pub fn get_blur(&self) -> Option<BlurOption>

Source

pub fn try_get_blur(&self) -> Option<BlurOption>

Source

pub fn get_mut_blur(&mut self) -> &mut Option<BlurOption>

Source

pub fn set_blur(&mut self, val: Option<BlurOption>) -> &mut Self

Source

pub fn get_mark_point(&self) -> Option<MarkPointOption>

Source

pub fn try_get_mark_point(&self) -> Option<MarkPointOption>

Source

pub fn get_mut_mark_point(&mut self) -> &mut Option<MarkPointOption>

Source

pub fn set_mark_point(&mut self, val: Option<MarkPointOption>) -> &mut Self

Source

pub fn get_mark_line(&self) -> Option<MarkLineOption>

Source

pub fn try_get_mark_line(&self) -> Option<MarkLineOption>

Source

pub fn get_mut_mark_line(&mut self) -> &mut Option<MarkLineOption>

Source

pub fn set_mark_line(&mut self, val: Option<MarkLineOption>) -> &mut Self

Source

pub fn get_mark_area(&self) -> Option<MarkAreaOption>

Source

pub fn try_get_mark_area(&self) -> Option<MarkAreaOption>

Source

pub fn get_mut_mark_area(&mut self) -> &mut Option<MarkAreaOption>

Source

pub fn set_mark_area(&mut self, val: Option<MarkAreaOption>) -> &mut Self

Source

pub fn get_color(&self) -> Option<String>

Source

pub fn try_get_color(&self) -> Option<String>

Source

pub fn get_mut_color(&mut self) -> &mut Option<String>

Source

pub fn set_color(&mut self, val: Option<String>) -> &mut Self

Source

pub fn get_bar(&self) -> Option<BarOptions>

Source

pub fn try_get_bar(&self) -> Option<BarOptions>

Source

pub fn get_mut_bar(&mut self) -> &mut Option<BarOptions>

Source

pub fn set_bar(&mut self, val: Option<BarOptions>) -> &mut Self

Source

pub fn get_line(&self) -> Option<LineOptions>

Source

pub fn try_get_line(&self) -> Option<LineOptions>

Source

pub fn get_mut_line(&mut self) -> &mut Option<LineOptions>

Source

pub fn set_line(&mut self, val: Option<LineOptions>) -> &mut Self

Source

pub fn get_pie(&self) -> Option<PieOptions>

Source

pub fn try_get_pie(&self) -> Option<PieOptions>

Source

pub fn get_mut_pie(&mut self) -> &mut Option<PieOptions>

Source

pub fn set_pie(&mut self, val: Option<PieOptions>) -> &mut Self

Source

pub fn get_scatter(&self) -> Option<ScatterOptions>

Source

pub fn try_get_scatter(&self) -> Option<ScatterOptions>

Source

pub fn get_mut_scatter(&mut self) -> &mut Option<ScatterOptions>

Source

pub fn set_scatter(&mut self, val: Option<ScatterOptions>) -> &mut Self

Source

pub fn get_radar(&self) -> Option<RadarOptions>

Source

pub fn try_get_radar(&self) -> Option<RadarOptions>

Source

pub fn get_mut_radar(&mut self) -> &mut Option<RadarOptions>

Source

pub fn set_radar(&mut self, val: Option<RadarOptions>) -> &mut Self

Source

pub fn get_gauge(&self) -> Option<GaugeOptions>

Source

pub fn try_get_gauge(&self) -> Option<GaugeOptions>

Source

pub fn get_mut_gauge(&mut self) -> &mut Option<GaugeOptions>

Source

pub fn set_gauge(&mut self, val: Option<GaugeOptions>) -> &mut Self

Source

pub fn get_funnel(&self) -> Option<FunnelOptions>

Source

pub fn try_get_funnel(&self) -> Option<FunnelOptions>

Source

pub fn get_mut_funnel(&mut self) -> &mut Option<FunnelOptions>

Source

pub fn set_funnel(&mut self, val: Option<FunnelOptions>) -> &mut Self

Source

pub fn get_heatmap(&self) -> Option<HeatmapOptions>

Source

pub fn try_get_heatmap(&self) -> Option<HeatmapOptions>

Source

pub fn get_mut_heatmap(&mut self) -> &mut Option<HeatmapOptions>

Source

pub fn set_heatmap(&mut self, val: Option<HeatmapOptions>) -> &mut Self

Source

pub fn get_graph(&self) -> Option<GraphOptions>

Source

pub fn try_get_graph(&self) -> Option<GraphOptions>

Source

pub fn get_mut_graph(&mut self) -> &mut Option<GraphOptions>

Source

pub fn set_graph(&mut self, val: Option<GraphOptions>) -> &mut Self

Source

pub fn get_treemap(&self) -> Option<TreemapOptions>

Source

pub fn try_get_treemap(&self) -> Option<TreemapOptions>

Source

pub fn get_mut_treemap(&mut self) -> &mut Option<TreemapOptions>

Source

pub fn set_treemap(&mut self, val: Option<TreemapOptions>) -> &mut Self

Source

pub fn get_sunburst(&self) -> Option<SunburstOptions>

Source

pub fn try_get_sunburst(&self) -> Option<SunburstOptions>

Source

pub fn get_mut_sunburst(&mut self) -> &mut Option<SunburstOptions>

Source

pub fn set_sunburst(&mut self, val: Option<SunburstOptions>) -> &mut Self

Source

pub fn get_boxplot(&self) -> Option<BoxplotOptions>

Source

pub fn try_get_boxplot(&self) -> Option<BoxplotOptions>

Source

pub fn get_mut_boxplot(&mut self) -> &mut Option<BoxplotOptions>

Source

pub fn set_boxplot(&mut self, val: Option<BoxplotOptions>) -> &mut Self

Source

pub fn get_candlestick(&self) -> Option<CandlestickOptions>

Source

pub fn try_get_candlestick(&self) -> Option<CandlestickOptions>

Source

pub fn get_mut_candlestick(&mut self) -> &mut Option<CandlestickOptions>

Source

pub fn set_candlestick(&mut self, val: Option<CandlestickOptions>) -> &mut Self

Source

pub fn get_theme_river(&self) -> Option<ThemeRiverOptions>

Source

pub fn try_get_theme_river(&self) -> Option<ThemeRiverOptions>

Source

pub fn get_mut_theme_river(&mut self) -> &mut Option<ThemeRiverOptions>

Source

pub fn set_theme_river(&mut self, val: Option<ThemeRiverOptions>) -> &mut Self

Source

pub fn get_sankey(&self) -> Option<SankeyOptions>

Source

pub fn try_get_sankey(&self) -> Option<SankeyOptions>

Source

pub fn get_mut_sankey(&mut self) -> &mut Option<SankeyOptions>

Source

pub fn set_sankey(&mut self, val: Option<SankeyOptions>) -> &mut Self

Source

pub fn get_parallel(&self) -> Option<ParallelOptions>

Source

pub fn try_get_parallel(&self) -> Option<ParallelOptions>

Source

pub fn get_mut_parallel(&mut self) -> &mut Option<ParallelOptions>

Source

pub fn set_parallel(&mut self, val: Option<ParallelOptions>) -> &mut Self

Source

pub fn get_pictorial_bar(&self) -> Option<PictorialBarOptions>

Source

pub fn try_get_pictorial_bar(&self) -> Option<PictorialBarOptions>

Source

pub fn get_mut_pictorial_bar(&mut self) -> &mut Option<PictorialBarOptions>

Source

pub fn set_pictorial_bar( &mut self, val: Option<PictorialBarOptions>, ) -> &mut Self

Source

pub fn get_lines(&self) -> Option<LinesOptions>

Source

pub fn try_get_lines(&self) -> Option<LinesOptions>

Source

pub fn get_mut_lines(&mut self) -> &mut Option<LinesOptions>

Source

pub fn set_lines(&mut self, val: Option<LinesOptions>) -> &mut Self

Source

pub fn get_map(&self) -> Option<MapOptions>

Source

pub fn try_get_map(&self) -> Option<MapOptions>

Source

pub fn get_mut_map(&mut self) -> &mut Option<MapOptions>

Source

pub fn set_map(&mut self, val: Option<MapOptions>) -> &mut Self

Source

pub fn get_custom(&self) -> Option<CustomOptions>

Source

pub fn try_get_custom(&self) -> Option<CustomOptions>

Source

pub fn get_mut_custom(&mut self) -> &mut Option<CustomOptions>

Source

pub fn set_custom(&mut self, val: Option<CustomOptions>) -> &mut Self

Trait Implementations§

Source§

impl Clone for SeriesOption

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SeriesOption

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SeriesOption

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl PartialEq for SeriesOption

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for SeriesOption

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<S, T> Upcast<T> for S
where T: UpcastFrom<S> + ?Sized, S: ?Sized,

Source§

fn upcast(&self) -> &T
where Self: ErasableGeneric, T: Sized + ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider ref type within the Wasm bindgen generics type system. Read more
Source§

fn upcast_into(self) -> T
where Self: Sized + ErasableGeneric, T: Sized + ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider type within the Wasm bindgen generics type system. Read more