1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
//! Popover builder struct — a click-triggered popup panel. /// A popover: `bg-popover border rounded-xl p-4 shadow-md`. #[must_use] pub struct Popover; impl Default for Popover { fn default() -> Self { Self::new() } } impl Popover { pub fn new() -> Self { Self } }