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.
pub async fn render_notification<'a>(
cx: &'a Cx,
notification: Notification,
attrs: Attributes,
) -> Result<Pin<Box<dyn View + 'a>>, Error>Renders one notification as the toast, with attrs merged onto its surface.