FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    MaterialSnackbarTimeoutPolicy

    trait · ferroui-themes-material · v0.5.0

    trait MaterialSnackbarTimeoutPolicy
    

    Adapter for a host's recommended accessibility timeout. Text and icons are always present; contains_controls means an action label is present, matching the reference host. Return None to require explicit dismissal. Recommendations cannot shorten the base duration.

    View source

    Members

    fn recommended_timeout(self: &Self, original: Duration, contains_controls: bool) -> Option<Duration>
    

    Source

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.