Function i_slint_core::platform::set_platform

source ยท
pub fn set_platform(
    platform: Box<dyn Platform + 'static>
) -> Result<(), SetPlatformError>
Expand description

Set the Slint platform abstraction.

If the platform abstraction was already set this will return Err.