pub fn apply_mica(
    window: impl HasRawWindowHandle,
    dark: Option<bool>
) -> Result<(), Error>
Expand description

Applies mica effect to window. Works only on Windows 11.

Arguments

  • dark: If None is provide, it will match the system preference

Platform-specific

  • Linux / macOS: Unsupported.