pub struct Legend {
pub text: String,
pub size_idx: usize,
pub color: Color,
}Expand description
A single legend
Fields§
§text: StringThe legend text
size_idx: usizeThe legend size
color: ColorThe legend colour
Implementations§
Trait Implementations§
impl StructuralPartialEq for Legend
Auto Trait Implementations§
impl Freeze for Legend
impl RefUnwindSafe for Legend
impl Send for Legend
impl Sync for Legend
impl Unpin for Legend
impl UnwindSafe for Legend
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