Function window_vibrancy::apply_mica

source ·
pub fn apply_mica(
    window: impl HasWindowHandle,
    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.