Function derive_more::index::expand

source ·
pub fn expand(
    input: &DeriveInput,
    trait_name: &'static str
) -> Result<TokenStream>
Expand description

Provides the hook to expand #[derive(Index)] into an implementation of Index