pub fn expand(
input: &DeriveInput,
trait_name: &'static str,
) -> Result<TokenStream>
Expand description
Provides the hook to expand #[derive(From)]
into an implementation of From
pub fn expand(
input: &DeriveInput,
trait_name: &'static str,
) -> Result<TokenStream>
Provides the hook to expand #[derive(From)]
into an implementation of From