Skip to main content

DataRole

Enum DataRole 

Source
#[non_exhaustive]
pub enum DataRole {
Show 225 variants X, Y, Z, Category, Value, Samples, Estimate, Lower, Upper, Condition, Term, Left, Right, Delta, EstimateStatus, Group, Hue, Series, FacetRow, FacetColumn, FacetWrap, SamplingUnits, Weights, CompareKey, Split, Fill, Color, AnnotationValues, DisplayMask, HighlightCells, Labels, Text, Padding, Position, Edges, Height, Baseline, BarWidth, BodyWidth, Gap, Start, End, Duration, First, Second, Where, Middle, ErrorArms, Density, Center, Count, Kde, EvaluationGrid, Geometry, Summary, Curves, Variables, Time, Lane, LineOffsets, LineLengths, LaneLower, LaneHeight, DecayTime, Open, High, Low, Close, Signal, Frequency, Other, Lag, Field, Mesh, Pixels, Grid, Sparsity, RowColors, ColumnColors, RowOrder, ColumnOrder, Observed, Theoretical, PlottingPositions, Reference, Covariance, FitResult, Fitted, Residual, Successes, Trials, JointPredictor, CovariateAdjustment, PredictionGrid, QuantileLevel, Offset, Exposure, Scores, Thresholds, Fpr, Tpr, Recall, Precision, MeanProbability, FractionPositive, Probability, Event, Entry, Censors, RiskTable, Effect, PValues, AdjustedPValues, NegativeLog10, Mean, Difference, Bias, DeltaValue, Theta, R, AngularWidth, Explode, Direction, Speed, AngularEdges, SpeedEdges, Mass, CalmMass, SectorMass, WeibullScale, WeibullShape, Flags, Full, Half, Composition, Dimensions, Stages, Graph, Tree, Process, Port, Flow, Connections, Stage, Features, Tiles, Lon, Lat, Radius, LabelPositions, Dx, Dy, Dz, Vertices, VertexValues, FaceValues, Occupied, XEdges, YEdges, ZEdges, XCorners, YCorners, ZCorners, Seeds, Paths, MeshMarker, MarkerRotation, MarkerScale, X0, Y0, X1, Y1, Stop, Sweep, NotchLower, NotchUpper, NormalError, Normals, Measure, PointColor, LineColor, FillColor, EdgeColor, TextColor, PointSize, PointShape, LineWidth, LinePattern, FillPattern, EdgeWidth, FontSize, Rotation, HatchSpacing, VectorLength, TubeRadius, FlowWidth, PointAlpha, LineAlpha, FillAlpha, EdgeAlpha, TextAlpha, SetMembership, SegmentRanges, Sector, CircularLinks, StandardError, Variance, Intervals, QuantileProbabilities, QuantileValues, StandardDeviation, Correlation, CenteredRmse, Loadings, SingularValues, ExplainedVariance, Chromosome, Response, TrueLabels, PredictedLabels, Individual, RugValues, EventCode, CumulativeHazard, CumulativeIncidence,
}
Expand description

A fixed native input role, independent of its field name or display.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

X

Authored x input.

§

Y

Authored y input.

§

Z

Authored z input.

§

Category

Authored category input.

§

Value

Authored value input.

§

Samples

Authored samples input.

§

Estimate

Authored estimate input.

§

Lower

Authored lower input.

§

Upper

Authored upper input.

§

Condition

Authored condition input.

§

Term

Authored term input.

§

Left

Authored left input.

§

Right

Authored right input.

§

Delta

Authored delta input.

§

EstimateStatus

Authored estimate_status input.

§

Group

Authored group input.

§

Hue

Authored hue input.

§

Series

Authored series input.

§

FacetRow

Authored facet_row input.

§

FacetColumn

Authored facet_column input.

§

FacetWrap

Authored facet_wrap input.

§

SamplingUnits

Authored sampling_units input.

§

Weights

Authored weights input.

§

CompareKey

Authored compare_key input.

§

Split

Authored split input.

§

Fill

Authored fill input.

§

Color

Authored color input.

§

AnnotationValues

Authored annotation_values input.

§

DisplayMask

Authored display_mask input.

§

HighlightCells

Authored highlight_cells input.

§

Labels

Authored labels input.

§

Text

Authored text input.

§

Padding

Authored padding input.

§

Position

Authored position input.

§

Edges

Authored edges input.

§

Height

Authored height input.

§

Baseline

Authored baseline input.

§

BarWidth

Authored bar_width input.

§

BodyWidth

Authored body_width input.

§

Gap

Authored gap input.

§

Start

Authored start input.

§

End

Authored end input.

§

Duration

Authored duration input.

§

First

Authored first input.

§

Second

Authored second input.

§

Where

Authored where input.

§

Middle

Authored middle input.

§

ErrorArms

Authored error_arms input.

§

Density

Authored density input.

§

Center

Authored center input.

§

Count

Authored count input.

§

Kde

Authored kde input.

§

EvaluationGrid

Authored evaluation_grid input.

§

Geometry

Authored geometry input.

§

Summary

Authored summary input.

§

Curves

Authored curves input.

§

Variables

Authored variables input.

§

Time

Authored time input.

§

Lane

Authored lane input.

§

LineOffsets

Authored line_offsets input.

§

LineLengths

Authored line_lengths input.

§

LaneLower

Authored lane_lower input.

§

LaneHeight

Authored lane_height input.

§

DecayTime

Authored decay_time input.

§

Open

Authored open input.

§

High

Authored high input.

§

Low

Authored low input.

§

Close

Authored close input.

§

Signal

Authored signal input.

§

Frequency

Authored frequency input.

§

Other

Authored other input.

§

Lag

Authored lag input.

§

Field

Authored field input.

§

Mesh

Authored mesh input.

§

Pixels

Authored pixels input.

§

Grid

Authored grid input.

§

Sparsity

Authored sparsity input.

§

RowColors

Authored row_colors input.

§

ColumnColors

Authored column_colors input.

§

RowOrder

Authored row_order input.

§

ColumnOrder

Authored column_order input.

§

Observed

Authored observed input.

§

Theoretical

Authored theoretical input.

§

PlottingPositions

Authored plotting_positions input.

§

Reference

Authored reference input.

§

Covariance

Authored covariance input.

§

FitResult

Authored fit_result input.

§

Fitted

Authored fitted input.

§

Residual

Authored residual input.

§

Successes

Authored successes input.

§

Trials

Authored trials input.

§

JointPredictor

Authored joint_predictor input.

§

CovariateAdjustment

Authored covariate_adjustment input.

§

PredictionGrid

Authored prediction_grid input.

§

QuantileLevel

Authored quantile_level input.

§

Offset

Authored offset input.

§

Exposure

Authored exposure input.

§

Scores

Authored scores input.

§

Thresholds

Authored thresholds input.

§

Fpr

Authored fpr input.

§

Tpr

Authored tpr input.

§

Recall

Authored recall input.

§

Precision

Authored precision input.

§

MeanProbability

Authored mean_probability input.

§

FractionPositive

Authored fraction_positive input.

§

Probability

Authored probability input.

§

Event

Authored event input.

§

Entry

Authored entry input.

§

Censors

Authored censors input.

§

RiskTable

Authored risk_table input.

§

Effect

Authored effect input.

§

PValues

Authored p_values input.

§

AdjustedPValues

Authored adjusted_p_values input.

§

NegativeLog10

Authored negative_log10 input.

§

Mean

Authored mean input.

§

Difference

Authored difference input.

§

Bias

Authored bias input.

§

DeltaValue

Authored delta_value input.

§

Theta

Authored theta input.

§

R

Authored r input.

§

AngularWidth

Authored angular_width input.

§

Explode

Authored explode input.

§

Direction

Authored direction input.

§

Speed

Authored speed input.

§

AngularEdges

Authored angular_edges input.

§

SpeedEdges

Authored speed_edges input.

§

Mass

Authored mass input.

§

CalmMass

Authored calm_mass input.

§

SectorMass

Authored sector_mass input.

§

WeibullScale

Authored weibull_scale input.

§

WeibullShape

Authored weibull_shape input.

§

Flags

Authored flags input.

§

Full

Authored full input.

§

Half

Authored half input.

§

Composition

Authored composition input.

§

Dimensions

Authored dimensions input.

§

Stages

Authored stages input.

§

Graph

Authored graph input.

§

Tree

Authored tree input.

§

Process

Authored process input.

§

Port

Authored port input.

§

Flow

Authored flow input.

§

Connections

Authored connections input.

§

Stage

Authored stage input.

§

Features

Authored features input.

§

Tiles

Authored tiles input.

§

Lon

Authored lon input.

§

Lat

Authored lat input.

§

Radius

Authored radius input.

§

LabelPositions

Authored label_positions input.

§

Dx

Authored dx input.

§

Dy

Authored dy input.

§

Dz

Authored dz input.

§

Vertices

Authored vertices input.

§

VertexValues

Authored vertex_values input.

§

FaceValues

Authored face_values input.

§

Occupied

Authored occupied input.

§

XEdges

Authored x_edges input.

§

YEdges

Authored y_edges input.

§

ZEdges

Authored z_edges input.

§

XCorners

Authored x_corners input.

§

YCorners

Authored y_corners input.

§

ZCorners

Authored z_corners input.

§

Seeds

Authored seeds input.

§

Paths

Authored paths input.

§

MeshMarker

Authored mesh_marker input.

§

MarkerRotation

Authored marker_rotation input.

§

MarkerScale

Authored marker_scale input.

§

X0

Authored x0 input.

§

Y0

Authored y0 input.

§

X1

Authored x1 input.

§

Y1

Authored y1 input.

§

Stop

Authored stop input.

§

Sweep

Authored sweep input.

§

NotchLower

Authored notch_lower input.

§

NotchUpper

Authored notch_upper input.

§

NormalError

Authored normal_error input.

§

Normals

Authored normals input.

§

Measure

Authored measure input.

§

PointColor

Authored point_color input.

§

LineColor

Authored line_color input.

§

FillColor

Authored fill_color input.

§

EdgeColor

Authored edge_color input.

§

TextColor

Authored text_color input.

§

PointSize

Authored point_size input.

§

PointShape

Authored point_shape input.

§

LineWidth

Authored line_width input.

§

LinePattern

Authored line_pattern input.

§

FillPattern

Authored fill_pattern input.

§

EdgeWidth

Authored edge_width input.

§

FontSize

Authored font_size input.

§

Rotation

Authored rotation input.

§

HatchSpacing

Authored hatch_spacing input.

§

VectorLength

Authored vector_length input.

§

TubeRadius

Authored tube_radius input.

§

FlowWidth

Authored flow_width input.

§

PointAlpha

Authored point_alpha input.

§

LineAlpha

Authored line_alpha input.

§

FillAlpha

Authored fill_alpha input.

§

EdgeAlpha

Authored edge_alpha input.

§

TextAlpha

Authored text_alpha input.

§

SetMembership

Authored set_membership input.

§

SegmentRanges

Authored segment_ranges input.

§

Sector

Authored sector input.

Authored circular_links input.

§

StandardError

Authored standard_error input.

§

Variance

Authored variance input.

§

Intervals

Authored intervals input.

§

QuantileProbabilities

Authored quantile_probabilities input.

§

QuantileValues

Authored quantile_values input.

§

StandardDeviation

Authored standard_deviation input.

§

Correlation

Authored correlation input.

§

CenteredRmse

Authored centered_rmse input.

§

Loadings

Authored loadings input.

§

SingularValues

Authored singular_values input.

§

ExplainedVariance

Authored explained_variance input.

§

Chromosome

Authored chromosome input.

§

Response

Authored response input.

§

TrueLabels

Authored true_labels input.

§

PredictedLabels

Authored predicted_labels input.

§

Individual

Authored individual input.

§

RugValues

Authored rug_values input.

§

EventCode

Authored event_code input.

§

CumulativeHazard

Authored cumulative_hazard input.

§

CumulativeIncidence

Authored cumulative_incidence input.

Implementations§

Source§

impl DataRole

Source

pub const fn as_str(self) -> &'static str

The canonical serialized spelling of this fixed role.

Trait Implementations§

Source§

impl Clone for DataRole

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 Copy for DataRole

Source§

impl Debug for DataRole

Source§

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

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

impl Eq for DataRole

Source§

impl From<DataRole> for DataSelector

Source§

fn from(role: DataRole) -> Self

Converts to this type from the input type.
Source§

impl From<DataRole> for StatField

Source§

fn from(value: DataRole) -> Self

Converts to this type from the input type.
Source§

impl Hash for DataRole

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for DataRole

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 DataRole

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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

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> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> Scalar for T
where T: 'static + Clone + PartialEq + Debug,

Source§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

Source§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Source§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
Source§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
Source§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
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<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V