Trait veloren_voxygen::ui::widgets::tooltip::Tooltipable

source ·
pub trait Tooltipable {
    // Required method
    fn with_tooltip<'a>(
        self,
        tooltip_manager: &'a mut TooltipManager,
        title_text: &'a str,
        desc_text: &'a str,
        tooltip: &'a Tooltip<'a>,
        title_col: Color,
    ) -> Tooltipped<'a, Self>
       where Self: Sized;
}

Required Methods§

source

fn with_tooltip<'a>( self, tooltip_manager: &'a mut TooltipManager, title_text: &'a str, desc_text: &'a str, tooltip: &'a Tooltip<'a>, title_col: Color, ) -> Tooltipped<'a, Self>
where Self: Sized,

Implementors§

source§

impl<W: Widget> Tooltipable for W