pub struct LegendEntry {
pub text: String,
pub color: Option<(u8, u8, u8)>,
pub symbol: Option<MarkerType>,
}Expand description
Legend entry
Fields§
§text: StringLegend text
color: Option<(u8, u8, u8)>Associated color
symbol: Option<MarkerType>Symbol/marker type
Trait Implementations§
Source§impl Clone for LegendEntry
impl Clone for LegendEntry
Source§fn clone(&self) -> LegendEntry
fn clone(&self) -> LegendEntry
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 moreAuto Trait Implementations§
impl Freeze for LegendEntry
impl RefUnwindSafe for LegendEntry
impl Send for LegendEntry
impl Sync for LegendEntry
impl Unpin for LegendEntry
impl UnwindSafe for LegendEntry
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