Struct ambient_ui::dropdown::Tooltip
source · pub struct Tooltip {
pub inner: Element,
pub tooltip: Element,
}
Expand description
A tooltip element: shows the tooltip
when the inner
is hovered.
Fields§
§inner: Element
The element to render; when hovered over, tooltip
will be shown.
tooltip: Element
The tooltip to show.
Implementations§
Trait Implementations§
Auto Trait Implementations§
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
source§impl<T> Downcast for T
impl<T> Downcast for T
source§impl<T> ElementComponentExt for Twhere
T: ElementComponent + 'static,
impl<T> ElementComponentExt for Twhere
T: ElementComponent + 'static,
source§impl<T> ElementComponentName for T
impl<T> ElementComponentName for T
source§fn element_component_name(&self) -> &'static str
fn element_component_name(&self) -> &'static str
Returns the name of the type implementing ElementComponent.