layer-shika/src/prelude.rs
2025-12-01 00:25:15 +01:00

27 lines
702 B
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)]
// Core API types
pub use crate::{
App, Error, EventContext, EventLoopHandle, LayerShika, PopupWindow, Result, ShellControl,
};
// Domain value objects
pub use crate::{
AnchorEdges, KeyboardInteractivity, Layer, OutputGeometry, OutputHandle, OutputInfo,
OutputPolicy, OutputRegistry, PopupAt, PopupHandle, PopupPositioningMode, PopupRequest,
PopupSize,
};
// Event loop types
pub use crate::calloop;
// UI framework re-exports
pub use crate::{slint, slint_interpreter};