Struct charming::component::legend::LegendItem
source · pub struct LegendItem {
pub name: String,
pub icon: Option<Icon>,
}
Fields§
§name: String
§icon: Option<Icon>
Trait Implementations§
source§impl From<&str> for LegendItem
impl From<&str> for LegendItem
source§impl From<String> for LegendItem
impl From<String> for LegendItem
Auto Trait Implementations§
impl RefUnwindSafe for LegendItem
impl Send for LegendItem
impl Sync for LegendItem
impl Unpin 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