Skip to main content

FromInputs

Derive Macro FromInputs 

Source
#[derive(FromInputs)]
{
    // Attributes available to this derive:
    #[input]
    #[local]
    #[from_inputs]
}
Expand description

Generate a component’s named input struct and FromInputs implementation. Each field must be #[input] or #[local(init = expression)]. See fusor::FromInputs for the application-facing documentation.