pub enum LegendPosition {
None,
TopRight,
TopLeft,
BottomRight,
BottomLeft,
}Expand description
Legend position.
Variants§
None
No legend
TopRight
Top right (default)
TopLeft
Top left
BottomRight
Bottom right
BottomLeft
Bottom left
Trait Implementations§
Source§impl Clone for LegendPosition
impl Clone for LegendPosition
Source§fn clone(&self) -> LegendPosition
fn clone(&self) -> LegendPosition
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 LegendPosition
impl Debug for LegendPosition
Source§impl Default for LegendPosition
impl Default for LegendPosition
Source§fn default() -> LegendPosition
fn default() -> LegendPosition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LegendPosition
impl<'de> Deserialize<'de> for LegendPosition
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 LegendPosition
impl PartialEq for LegendPosition
Source§impl Serialize for LegendPosition
impl Serialize for LegendPosition
impl Copy for LegendPosition
impl Eq for LegendPosition
impl StructuralPartialEq for LegendPosition
Auto Trait Implementations§
impl Freeze for LegendPosition
impl RefUnwindSafe for LegendPosition
impl Send for LegendPosition
impl Sync for LegendPosition
impl Unpin for LegendPosition
impl UnwindSafe for LegendPosition
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
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.