pub struct LegendItem {
pub index: usize,
pub label: String,
pub color: String,
pub x: f64,
pub y: f64,
pub width: f64,
pub row: usize,
pub visible: bool,
}Expand description
A positioned legend item.
Fields§
§index: usize§label: String§color: String§x: f64§y: f64§width: f64§row: usize§visible: boolTrait Implementations§
Source§impl Clone for LegendItem
impl Clone for LegendItem
Source§fn clone(&self) -> LegendItem
fn clone(&self) -> LegendItem
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 LegendItem
impl RefUnwindSafe for LegendItem
impl Send for LegendItem
impl Sync for LegendItem
impl Unpin for LegendItem
impl UnsafeUnpin for LegendItem
impl UnwindSafe for LegendItem
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