pub enum LegendGrouping {
ByName,
ById,
}Expand description
How to group legend entries.
Variants§
ByName
Items with the same name share a single legend entry (default).
ById
Each item gets its own legend entry, keyed by its unique Id.
Trait Implementations§
Source§impl Clone for LegendGrouping
impl Clone for LegendGrouping
Source§fn clone(&self) -> LegendGrouping
fn clone(&self) -> LegendGrouping
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LegendGrouping
impl Debug for LegendGrouping
Source§impl Default for LegendGrouping
impl Default for LegendGrouping
Source§fn default() -> LegendGrouping
fn default() -> LegendGrouping
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LegendGrouping
impl<'de> Deserialize<'de> for LegendGrouping
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 LegendGrouping
impl PartialEq for LegendGrouping
Source§impl Serialize for LegendGrouping
impl Serialize for LegendGrouping
impl Copy for LegendGrouping
impl Eq for LegendGrouping
impl StructuralPartialEq for LegendGrouping
Auto Trait Implementations§
impl Freeze for LegendGrouping
impl RefUnwindSafe for LegendGrouping
impl Send for LegendGrouping
impl Sync for LegendGrouping
impl Unpin for LegendGrouping
impl UnsafeUnpin for LegendGrouping
impl UnwindSafe for LegendGrouping
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