pub struct Tooltip {
pub icon_name: String,
pub icon_data: Vec<IconPixmap>,
pub title: String,
pub description: String,
}
Expand description
Data structure that describes extra information associated to this item, that can be visualized for instance by a tooltip (or by any other mean the visualization consider appropriate.
Fields§
§icon_name: String
§icon_data: Vec<IconPixmap>
§title: String
§description: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tooltip
impl<'de> Deserialize<'de> for Tooltip
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Tooltip
impl RefUnwindSafe for Tooltip
impl Send for Tooltip
impl Sync for Tooltip
impl Unpin for Tooltip
impl UnwindSafe for Tooltip
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