feat: prelude

This commit is contained in:
drendog 2025-11-16 17:11:37 +01:00
parent 575dc9523a
commit e73cce3455
Signed by: dwenya
GPG key ID: 8DD77074645332D0
2 changed files with 12 additions and 0 deletions

View file

@ -4,6 +4,8 @@ mod composition {
pub use layer_shika_composition::*; pub use layer_shika_composition::*;
} }
pub mod prelude;
pub use composition::{ pub use composition::{
AnchorEdges, Error, EventLoopHandle, KeyboardInteractivity, Layer, LayerShika, PopupAt, AnchorEdges, Error, EventLoopHandle, KeyboardInteractivity, Layer, LayerShika, PopupAt,
PopupHandle, PopupPositioningMode, PopupRequest, PopupSize, PopupWindow, Result, RuntimeState, PopupHandle, PopupPositioningMode, PopupRequest, PopupSize, PopupWindow, Result, RuntimeState,

10
src/prelude.rs Normal file
View file

@ -0,0 +1,10 @@
#![allow(clippy::pub_use)]
pub use crate::{
AnchorEdges, Error, KeyboardInteractivity, Layer, LayerShika, PopupAt, PopupPositioningMode,
PopupRequest, PopupSize, Result,
};
pub use crate::calloop;
pub use crate::{slint, slint_interpreter};