dioxus_std/geolocation/
mod.rs

1cfg_if::cfg_if! {
2    if #[cfg(any(windows, target_family = "wasm"))] {
3        pub mod core;
4        pub mod platform;
5        pub mod use_geolocation;
6        pub use self::core::*;
7        pub use self::use_geolocation::*;
8    }
9    else {
10        compile_error!("The geolocation module is not supported on this platform.");
11    }
12}