pub fn frame(
frame: &mut Frame,
visuals: FrameVisuals,
ui: &mut Ui,
add_contents: impl FnOnce(&mut Ui),
) -> ResponseExpand description
Paint frame with hover/click fills from visuals.
The closure runs inside the frame. Returns the inner content response.