Function uniffi::check_compatible_version[][src]

pub const fn check_compatible_version(bindgen_version: &'static str) -> bool
Expand description

Check whether the uniffi runtime version is compatible a given uniffi_bindgen version.

The result of this check may be used to ensure that generated Rust scaffolding is using a compatible version of the uniffi runtime crate. It’s a const fn so that it can be used to perform such a check at compile time.