mirror of
https://codeberg.org/waydeer/layer-shika.git
synced 2025-12-12 15:25:55 +00:00
35 lines
1.1 KiB
Rust
35 lines
1.1 KiB
Rust
//! Prelude module re-exporting all public API types
|
|
//!
|
|
//! Import this module to get access to the most commonly used types:
|
|
//!
|
|
//! ```rust
|
|
//! use layer_shika::prelude::*;
|
|
//! ```
|
|
|
|
#![allow(clippy::pub_use)]
|
|
|
|
pub use crate::shell::{
|
|
CompiledUiSource, DEFAULT_COMPONENT_NAME, DEFAULT_SURFACE_NAME, LayerSurfaceHandle, Shell,
|
|
ShellBuilder, ShellConfig, ShellControl, ShellEventContext, ShellRuntime,
|
|
ShellSurfaceConfigHandler, SurfaceComponentConfig, SurfaceConfigBuilder, SurfaceDefinition,
|
|
};
|
|
|
|
pub use crate::window::{
|
|
AnchorEdges, AnchorStrategy, KeyboardInteractivity, Layer, PopupHandle, PopupPlacement,
|
|
PopupPositioningMode, PopupRequest, PopupSize,
|
|
};
|
|
|
|
pub use crate::output::{OutputGeometry, OutputHandle, OutputInfo, OutputPolicy, OutputRegistry};
|
|
|
|
pub use crate::event::{EventDispatchContext, EventLoopHandle, ShellEventLoop};
|
|
|
|
pub use crate::slint_integration::{PopupWindow, slint, slint_interpreter};
|
|
|
|
pub use crate::{Error, Handle, Result, SurfaceHandle};
|
|
|
|
pub use layer_shika_composition::prelude::{
|
|
Anchor, LogicalSize, Margins, PhysicalSize, ScaleFactor, SurfaceConfig, SurfaceDimension,
|
|
UiSource,
|
|
};
|
|
|
|
pub use crate::calloop;
|