Skip to main content

push

Function push 

Source
pub fn push(cx: &mut App, toast: Toast) -> bool
Expand description

Shows a toast, reporting whether it was delivered.

False means no layer is mounted. The library will not pick a window it was not given, so the caller learns the notification went nowhere rather than believing something was shown.