component-shape-gpui 0.3.1

GPUI component shape runtime contracts and macros.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use component_shape_gpui::component_shape;

struct InputState;

component_shape! {
    pub struct MissingValueBindingImpl {
        type State = InputState;
        value = String;
        value_binding;
    }
}

fn main() {}