pub fn derive_label(
input: DeriveInput,
trait_name: &str,
trait_path: &Path,
) -> TokenStreamExpand description
Derive a label trait
ยงArgs
input: Thesyn::DeriveInputfor 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 theDynEqtrait