pub fn derive_to_value(
input: DeriveInput,
trait_path: Path,
output_type_name: Ident,
bind_style: BindStyle,
binding_attrs: impl FnMut(&BindingInfo<'_>) -> ToValueAttrs,
call_from: impl FnMut(&BindingInfo<'_>) -> TokenStream,
call_to: impl FnMut(&BindingInfo<'_>) -> TokenStream,
trait_impl: impl FnMut(TokenStream, TokenStream) -> TokenStream,
) -> TokenStream