pub enum LegendMark {
Rect,
Line,
Circle,
}Expand description
Legend symbol type — matches the JS renderSymbol() function.
Variants§
Trait Implementations§
Source§impl Clone for LegendMark
impl Clone for LegendMark
Source§fn clone(&self) -> LegendMark
fn clone(&self) -> LegendMark
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LegendMark
Source§impl Debug for LegendMark
impl Debug for LegendMark
Source§impl PartialEq for LegendMark
impl PartialEq for LegendMark
Source§fn eq(&self, other: &LegendMark) -> bool
fn eq(&self, other: &LegendMark) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LegendMark
Auto Trait Implementations§
impl Freeze for LegendMark
impl RefUnwindSafe for LegendMark
impl Send for LegendMark
impl Sync for LegendMark
impl Unpin for LegendMark
impl UnsafeUnpin for LegendMark
impl UnwindSafe for LegendMark
Blanket Implementations§
impl<T> Allocation for T
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