Struct keyset_key::Legend
source · 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§
source§impl PartialEq for Legend
impl PartialEq for Legend
impl StructuralPartialEq for Legend
Auto Trait Implementations§
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