pub enum LegendPosition {
None,
TopLeft,
TopRight,
BottomLeft,
BottomRight,
}Expand description
Where the legend is drawn inside the plot.
Variants§
None
No legend.
TopLeft
Top-left corner.
TopRight
Top-right corner.
BottomLeft
Bottom-left corner.
BottomRight
Bottom-right corner.
Trait Implementations§
Source§impl Clone for LegendPosition
impl Clone for LegendPosition
impl Copy for LegendPosition
Source§impl Debug for LegendPosition
impl Debug for LegendPosition
Source§impl Default for LegendPosition
impl Default for LegendPosition
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
impl Eq for LegendPosition
Source§impl PartialEq for LegendPosition
impl PartialEq for LegendPosition
Source§impl Serialize for LegendPosition
impl Serialize for LegendPosition
impl StructuralPartialEq for LegendPosition
Auto Trait Implementations§
impl Forget for LegendPosition
impl Freeze for LegendPosition
impl Move for LegendPosition
impl RefUnwindSafe for LegendPosition
impl Send for LegendPosition
impl Sync for LegendPosition
impl Unpin for LegendPosition
impl UnsafeUnpin 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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more