pub trait Tooltipped: StatefulInteractiveElement + Sized {
// Provided method
fn tip(
self,
control: impl Into<Ident>,
text: impl Into<SharedString>,
) -> Self { ... }
}Expand description
Attaches hover help to a control.
Hover tracking needs an element identity, so the element must already carry an id.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".