Skip to main content

generate

Function generate 

Source
pub fn generate(input: &DeriveInput) -> Result<TokenStream>
Expand description

Parse, validate, and expand one derive input.

ยงErrors

Returns the first syntax, semantic, or expansion diagnostic produced by the engine.