1 Star 0 Fork 0

mindbox/xloop

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
lib.rs 1.24 KB
Copy Edit Raw Blame History
mindbox authored 3 months ago . refact event
pub extern crate xloop_types;
#[cfg(target_os = "macos")]
pub extern crate xloop_macos as xloop_impl;
#[cfg(target_os = "ios")]
pub extern crate xloop_ios as xloop_impl;
#[cfg(target_os = "android")]
pub extern crate xloop_android as xloop_impl;
#[cfg(target_family = "windows")]
pub extern crate xloop_windows as xloop_impl;
#[cfg(target_arch = "wasm32")]
pub extern crate xloop_wasm as xloop_impl;
pub mod prelude {
pub use super::xloop_types;
pub use super::xloop_types::prelude::*;
#[allow(unused_imports)]
pub use super::xloop_impl::prelude::*;
pub use super::xloop_impl::Application;
pub use super::xloop_impl::Window;
pub type WinRaw = <Window as xloop_types::Win>::WinRaw;
pub type WinRef<'a> = <Window as xloop_types::Win>::WinRef<'a>;
pub type WinHandle = <Window as xloop_types::Win>::WinHandle;
pub type WinError = <Window as xloop_types::Win>::Error;
pub type WinResult<T> = Result<T, WinError>;
pub type EvtMouse<'a> = <Window as xloop_types::Win>::Mouse<'a>;
pub type EvtWheel<'a> = <Window as xloop_types::Win>::Wheel<'a>;
pub type EvtKey<'a> = <Window as xloop_types::Win>::Keyboard<'a>;
pub type EvtTouch<'a> = <Window as xloop_types::Win>::Touch<'a>;
pub type EvtCommit<'a> = <Window as xloop_types::Win>::Composition<'a>;
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mindbox/xloop.git
git@gitee.com:mindbox/xloop.git
mindbox
xloop
xloop
master

Search