Trait veloren_voxygen::ui::ice::component::tooltip::WithTooltip

source ·
pub trait WithTooltip<'a, M, R: Renderer> {
    // Required method
    fn with_tooltip<H>(
        self,
        manager: &'a TooltipManager,
        hover_content: H,
    ) -> Tooltip<'a, M, R>
       where H: 'a + FnMut() -> Element<'a, M, R>;
}

Required Methods§

source

fn with_tooltip<H>( self, manager: &'a TooltipManager, hover_content: H, ) -> Tooltip<'a, M, R>
where H: 'a + FnMut() -> Element<'a, M, R>,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a, M, R: Renderer, E: Into<Element<'a, M, R>>> WithTooltip<'a, M, R> for E