Skip to main content

default_timeout

Function default_timeout 

Source
pub fn default_timeout(tone: ToastTone, has_action: bool, base: u32) -> u32
Expand description

How long a toast stays when the caller does not say: never for danger, half as long again with an action (deciding takes longer than reading), base otherwise.