pub enum DecorationId {
DataArea,
DataAreaEdge(Side),
ChartTitle,
Axis(Side),
AxisLabel(Side),
AxisTitle(Side),
Legend,
RadialLabel(RadialTarget),
DataLabel {
category_id: String,
series_id: String,
},
}Expand description
Stable identity within a chart. Category/series IDs survive reordering; radial indices refer to the original arrays, including zero-valued slices.
Variants§
DataArea
The plot layout region; registered behind labels and axes.
DataAreaEdge(Side)
Mutation target used by the common resize policy, not a separate hit.
ChartTitle
Axis(Side)
AxisLabel(Side)
AxisTitle(Side)
Legend
RadialLabel(RadialTarget)
DataLabel
Implementations§
Source§impl DecorationId
impl DecorationId
pub fn element_id(&self) -> String
Trait Implementations§
Source§impl Clone for DecorationId
impl Clone for DecorationId
Source§impl Debug for DecorationId
impl Debug for DecorationId
Source§impl<'de> Deserialize<'de> for DecorationId
impl<'de> Deserialize<'de> for DecorationId
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
Source§impl PartialEq for DecorationId
impl PartialEq for DecorationId
Source§impl Serialize for DecorationId
impl Serialize for DecorationId
impl StructuralPartialEq for DecorationId
Auto Trait Implementations§
impl Freeze for DecorationId
impl RefUnwindSafe for DecorationId
impl Send for DecorationId
impl Sync for DecorationId
impl Unpin for DecorationId
impl UnsafeUnpin for DecorationId
impl UnwindSafe for DecorationId
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