derive_more::from

Function 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