pub struct Props {
pub trigger: Markup,
pub content: Markup,
pub id: String,
pub open_delay_ms: u32,
pub close_delay_ms: u32,
}Expand description
HoverCard rendering properties
Fields§
§trigger: MarkupThe trigger element (link, button, text, etc.)
content: MarkupThe rich content displayed in the card
id: StringUnique identifier for the card
open_delay_ms: u32Delay in milliseconds before showing (default 300)
close_delay_ms: u32Delay in milliseconds before closing (default 200)
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