pub struct Props {
pub content: String,
pub placement: Placement,
pub delay_ms: u32,
pub trigger: Markup,
pub id: String,
}Expand description
Tooltip rendering properties
Fields§
§content: StringThe tooltip text displayed on hover/focus
placement: PlacementPosition relative to trigger
delay_ms: u32Delay in milliseconds before showing (default 500)
trigger: MarkupThe element that triggers the tooltip (button, link, icon, etc.)
id: StringUnique identifier for aria-describedby linking
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Props
impl RefUnwindSafe for Props
impl Send for Props
impl Sync for Props
impl Unpin for Props
impl UnsafeUnpin for Props
impl UnwindSafe for Props
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