#[non_exhaustive]#[repr(u16)]pub enum AddressRole {
Show 73 variants
Root = 0,
RootTitle = 1,
RootSubtitle = 2,
RootBody = 3,
RootCaption = 4,
PlotBody = 5,
CanvasBody = 6,
CanvasGrid = 7,
FacetGrid = 8,
CanvasSharedLegend = 9,
CanvasHeader = 10,
CanvasRowTitle = 11,
CanvasRangeGroup = 12,
CanvasCell = 13,
FacetHeader = 14,
FacetRowTitle = 15,
FacetRangeGroup = 16,
FacetCell = 17,
DataPanel = 18,
PanelInterior = 19,
SpecializedInterior = 20,
MarkLayer = 21,
MarkItem = 22,
HeatmapCell = 23,
HeatmapMergedRow = 24,
HeatmapValueLabel = 25,
HeatmapHighlight = 26,
BeeswarmCategory = 27,
BeeswarmPoint = 28,
MarginalCentral = 29,
MarginalTop = 30,
MarginalRight = 31,
MatrixCell = 32,
MatrixMark = 33,
CategoricalCategory = 34,
CategoricalSeriesSlot = 35,
CategoricalBodyMark = 36,
CategoricalInterval = 37,
CategoricalValueLabel = 38,
WaterfallBar = 39,
WaterfallConnector = 40,
WaterfallBaseLabel = 41,
WaterfallTerminalLabel = 42,
LegendSection = 43,
LegendTitle = 44,
LegendEntry = 45,
LegendKey = 46,
LegendLabel = 47,
GuideTitle = 48,
GuideGradient = 49,
GuideLabel = 50,
GuideMissingBlock = 51,
Surface = 52,
TextPanelContent = 53,
TextPanelTitle = 54,
TextPanelBody = 55,
InsideGuide = 56,
Annotation = 57,
AnnotationTarget = 58,
OtherOverlay = 59,
AxisTop = 60,
AxisRight = 61,
AxisBottom = 62,
AxisLeft = 63,
AxisTitle = 64,
OutsideGuideTop = 65,
OutsideGuideRight = 66,
OutsideGuideBottom = 67,
OutsideGuideLeft = 68,
OutsideGuideAuto = 69,
PreferenceMetric = 70,
Text = 71,
Glyph = 72,
}Expand description
Role of a component in the actual measured layout.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Root = 0
Root component.
RootTitle = 1
Root title component.
RootSubtitle = 2
Root subtitle component.
RootBody = 3
Root body component.
RootCaption = 4
Root caption component.
PlotBody = 5
Plot body component.
CanvasBody = 6
Canvas body component.
CanvasGrid = 7
Canvas grid component.
FacetGrid = 8
Facet grid component.
Canvas shared legend component.
CanvasHeader = 10
Canvas header component.
CanvasRowTitle = 11
Canvas row title component.
CanvasRangeGroup = 12
Canvas range group component.
CanvasCell = 13
Canvas cell component.
FacetHeader = 14
Facet header component.
FacetRowTitle = 15
Facet row title component.
FacetRangeGroup = 16
Facet range group component.
FacetCell = 17
Facet cell component.
DataPanel = 18
Data panel component.
PanelInterior = 19
Panel interior component.
SpecializedInterior = 20
Specialized interior component.
MarkLayer = 21
Mark layer component.
MarkItem = 22
Mark item component.
HeatmapCell = 23
Heatmap cell component.
HeatmapMergedRow = 24
Heatmap merged row component.
HeatmapValueLabel = 25
Heatmap value label component.
HeatmapHighlight = 26
Heatmap highlight component.
BeeswarmCategory = 27
Beeswarm category component.
BeeswarmPoint = 28
Beeswarm point component.
MarginalCentral = 29
Marginal central component.
MarginalTop = 30
Marginal top component.
MarginalRight = 31
Marginal right component.
MatrixCell = 32
Matrix cell component.
MatrixMark = 33
Matrix mark component.
CategoricalCategory = 34
Categorical category component.
CategoricalSeriesSlot = 35
Categorical series slot component.
CategoricalBodyMark = 36
Categorical body mark component.
CategoricalInterval = 37
Categorical interval component.
CategoricalValueLabel = 38
Categorical value label component.
WaterfallBar = 39
Waterfall bar component.
WaterfallConnector = 40
Waterfall connector component.
WaterfallBaseLabel = 41
Waterfall base label component.
WaterfallTerminalLabel = 42
Waterfall terminal label component.
LegendSection = 43
Legend section component.
LegendTitle = 44
Legend title component.
LegendEntry = 45
Legend entry component.
LegendKey = 46
Legend key component.
LegendLabel = 47
Legend label component.
GuideTitle = 48
Guide title component.
GuideGradient = 49
Guide gradient component.
GuideLabel = 50
Guide label component.
GuideMissingBlock = 51
Guide missing block component.
Surface = 52
Surface component.
TextPanelContent = 53
Text panel content component.
TextPanelTitle = 54
Text panel title component.
TextPanelBody = 55
Text panel body component.
InsideGuide = 56
Inside guide component.
Annotation = 57
Annotation component.
AnnotationTarget = 58
Annotation target component.
OtherOverlay = 59
Other overlay component.
AxisTop = 60
Axis top component.
AxisRight = 61
Axis right component.
AxisBottom = 62
Axis bottom component.
AxisLeft = 63
Axis left component.
AxisTitle = 64
Axis title component.
OutsideGuideTop = 65
Outside guide top component.
OutsideGuideRight = 66
Outside guide right component.
OutsideGuideBottom = 67
Outside guide bottom component.
OutsideGuideLeft = 68
Outside guide left component.
OutsideGuideAuto = 69
Outside guide auto component.
PreferenceMetric = 70
Preference metric component.
Text = 71
Text component.
Glyph = 72
Glyph component.
Trait Implementations§
Source§impl Clone for AddressRole
impl Clone for AddressRole
Source§fn clone(&self) -> AddressRole
fn clone(&self) -> AddressRole
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for AddressRole
Source§impl Debug for AddressRole
impl Debug for AddressRole
impl Eq for AddressRole
Source§impl Ord for AddressRole
impl Ord for AddressRole
Source§fn cmp(&self, other: &AddressRole) -> Ordering
fn cmp(&self, other: &AddressRole) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for AddressRole
impl PartialEq for AddressRole
Source§impl PartialOrd for AddressRole
impl PartialOrd for AddressRole
impl StructuralPartialEq for AddressRole
Auto Trait Implementations§
impl Forget for AddressRole
impl Freeze for AddressRole
impl Move for AddressRole
impl RefUnwindSafe for AddressRole
impl Send for AddressRole
impl Sync for AddressRole
impl Unpin for AddressRole
impl UnsafeUnpin for AddressRole
impl UnwindSafe for AddressRole
Blanket Implementations§
impl<T> Allocation for T
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
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.