gpui-form-core 0.4.1

Core crate for multiple gpui-form-* crates
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::components::*;
use proc_macro2::TokenStream;

impl super::ComponentLayout for SwitchComponent {
    fn field_tokens(
        &self,
        _field_structure_tokens: &mut TokenStream,
        _field_base_declarations_tokens: &mut TokenStream,
    ) {
        let FieldInformation::<SwitchOptions> {
            options: _,
            name: _,
            r#type: _,
        } = &self.0;
    }
}