Skip to main content

toasts

Function toasts 

Source
pub fn toasts<'a>(
    id: impl Into<WidgetId>,
    area: Rect,
    stack: &'a mut ToastStackState,
    now_ms: u64,
) -> ToastsBuilder<'a>
Expand description

Paint the live toasts of stack in the bottom-right of area, dropping expired ones. Push new ones with ToastStackState::push.