summaryrefslogtreecommitdiffstats
path: root/winit
diff options
context:
space:
mode:
authorLibravatar Richard <richardsoncusto@gmail.com>2022-03-10 03:01:12 -0300
committerLibravatar Richard <richardsoncusto@gmail.com>2022-04-26 18:55:52 -0300
commitc8ed318e17c8a7673e4260e5d4e12c44c9faa987 (patch)
treed788b3a9ad8895bcbd2d4576174b75fa2ba560e2 /winit
parent0b36a55196300371343a1614cec61ac041f160f4 (diff)
downloadiced-c8ed318e17c8a7673e4260e5d4e12c44c9faa987.tar.gz
iced-c8ed318e17c8a7673e4260e5d4e12c44c9faa987.tar.bz2
iced-c8ed318e17c8a7673e4260e5d4e12c44c9faa987.zip
Export new `system` module
Diffstat (limited to 'winit')
-rw-r--r--winit/src/system.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/winit/src/system.rs b/winit/src/system.rs
index cd3ba075..3d1b4022 100644
--- a/winit/src/system.rs
+++ b/winit/src/system.rs
@@ -1,14 +1,14 @@
//! Access the native system.
use crate::command::{self, Command};
-use iced_native::system;
+pub use iced_native::system::*;
/// Query for available system information.
///
/// Returns `None` if not using the `sysinfo` feature flag.
pub fn information<Message>(
- f: impl Fn(Option<system::Information>) -> Message + 'static,
+ f: impl Fn(Option<Information>) -> Message + 'static,
) -> Command<Message> {
- Command::single(command::Action::System(system::Action::QueryInformation(
+ Command::single(command::Action::System(Action::QueryInformation(
Box::new(f),
)))
}