Skip to main content

render_notification

Function render_notification 

Source
pub async fn render_notification<'a>(
    cx: &'a Cx,
    notification: Notification,
    attrs: Attributes,
) -> Result<Pin<Box<dyn View + 'a>>, Error>
Expand description

Renders one notification as the toast, with attrs merged onto its surface.