Skip to main content

expand_value_derive

Function expand_value_derive 

Source
pub fn expand_value_derive(
    ast: DeriveInput,
    value_type: ValueType,
    config: &Config,
) -> Result<TokenStream, Error>
Expand description

Implements the Value or OwnedValue conversions, per value_type, for structs and enums.