Function derive_more::from::expand
source · 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