open-gpui 0.2.0

Open GPUI's GPU-accelerated UI framework forked from Zed GPUI.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[test]
fn derive_context_macros_compile_against_open_gpui_facade() {
    use open_gpui::{App, Window};
    use open_gpui_macros::{AppContext, VisualContext};

    #[derive(AppContext, VisualContext)]
    struct _MyCustomContext<'a, 'b> {
        #[app]
        app: &'a mut App,
        #[window]
        window: &'b mut Window,
    }
}