#[non_exhaustive]pub enum PaintRole {
Show 20 variants
RootSurface,
PanelSurface,
Grid,
Body,
Primary,
Overlay,
Annotation,
Significance,
Axes,
Legend,
Prose,
TextPanel,
ImagePanel,
FrozenPanel,
Headers,
RowTitles,
FacetStrip,
SharedAxes,
SharedLegend,
RootProse,
}Expand description
Semantic role of an actual closed drawing batch.
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.
RootSurface
Root paper surface.
PanelSurface
Local plot paper surface.
Grid
Actual grid stroke batch.
Body
One closed scientific body containing combined dependent parts.
Primary
Scientific primary layer.
Overlay
Independently attached scientific layers.
Annotation
Reference marks or panel annotations.
Significance
Significance marks.
Axes
Scientific axes and frame.
Legend
A local legend.
Prose
Plot-owned prose.
TextPanel
Independent text panel.
ImagePanel
One fixed local image and its independent clipping scope.
FrozenPanel
One fixed native output and its independent clipping scope.
Headers
Canvas column and row headers.
RowTitles
Canvas row titles.
FacetStrip
Facet strip.
Shared axis labels.
Shared legend.
RootProse
Root title, subtitle and caption.
Trait Implementations§
impl Copy for PaintRole
impl Eq for PaintRole
impl StructuralPartialEq for PaintRole
Auto Trait Implementations§
impl Forget for PaintRole
impl Freeze for PaintRole
impl Move for PaintRole
impl RefUnwindSafe for PaintRole
impl Send for PaintRole
impl Sync for PaintRole
impl Unpin for PaintRole
impl UnsafeUnpin for PaintRole
impl UnwindSafe for PaintRole
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
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,
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
Compare self to
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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
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
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
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.