pub enum LegendPlacement {
Top,
End,
Auto,
Off,
}Expand description
Where a time chart names its series.
Variants§
Top
A legend above the plot.
End
The name of each line at its last observation, right of the plot.
Auto
Diagrams: a strip below the drawing that lists the node kinds, edge styles and emphasis that occur, when the diagram uses more than one.
Off
Diagrams: no strip, which is what a diagram without legend has.
Trait Implementations§
Source§impl Clone for LegendPlacement
impl Clone for LegendPlacement
impl Copy for LegendPlacement
Source§impl Debug for LegendPlacement
impl Debug for LegendPlacement
Source§impl Default for LegendPlacement
impl Default for LegendPlacement
Source§impl<'de> Deserialize<'de> for LegendPlacement
impl<'de> Deserialize<'de> for LegendPlacement
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
impl Eq for LegendPlacement
Source§impl PartialEq for LegendPlacement
impl PartialEq for LegendPlacement
Source§impl Serialize for LegendPlacement
impl Serialize for LegendPlacement
impl StructuralPartialEq for LegendPlacement
Auto Trait Implementations§
impl Freeze for LegendPlacement
impl RefUnwindSafe for LegendPlacement
impl Send for LegendPlacement
impl Sync for LegendPlacement
impl Unpin for LegendPlacement
impl UnsafeUnpin for LegendPlacement
impl UnwindSafe for LegendPlacement
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