ohos_window_sys/
lib.rs

1//! OpenHarmony native window, buffer and image bindings
2//!
3//! There are a lot of interdependencies in the APIs for native window, native buffer
4//! and native images, so we release these APIs in one crate.
5//!
6//! See the module level documentation for more information on the individual modules.
7//!
8//! ## Feature flags
9#![cfg_attr(
10    feature = "document-features",
11    cfg_attr(doc, doc = ::document_features::document_features!())
12)]
13#![cfg_attr(docsrs, feature(doc_cfg))]
14
15pub mod native_buffer;
16#[cfg(feature = "api-20")]
17#[cfg_attr(docsrs, doc(cfg(feature = "api-20")))]
18pub mod native_fence;
19pub mod native_image;
20pub mod native_window;
21
22pub use native_window::graphic_error_code::*;