Skip to main content

TooltipExt

Trait TooltipExt 

Source
pub trait TooltipExt: Into<View> + Sized {
    // Provided methods
    fn tooltip(self, value: impl Into<String>) -> View { ... }
    fn tooltip_with(self, tooltip: Tooltip) -> View { ... }
}
Expand description

Adds a tooltip to a view.

Provided Methods§

Source

fn tooltip(self, value: impl Into<String>) -> View

Source

fn tooltip_with(self, tooltip: Tooltip) -> View

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> TooltipExt for T
where T: Into<View>,