pub fn derive_label(
input: DeriveInput,
trait_name: &str,
trait_path: &Path,
dyn_eq_path: &Path,
) -> TokenStream
Expand description
Derive a label trait
ยงArgs
input
: Thesyn::DeriveInput
for struct that is deriving the label traittrait_name
: Name of the label traittrait_path
: The path to the label traitdyn_eq_path
: The path to theDynEq
trait