polyhorn-ui 0.4.0

Shared API contract for multi-platform Polyhorn UI.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Imperative handles to reactive components.

mod image;
mod scrollable;
mod text;
mod view;

pub use image::ImageHandle;
pub use scrollable::ScrollableHandle;
pub use text::TextHandle;
pub use view::ViewHandle;

/// This trait is implemented by types that have an imperative handle.
pub trait Imperative {
    /// This is the handle of this imperative type.
    type Handle;
}