Function bevy_macro_utils::derive_label
source · pub fn derive_label(
input: DeriveInput,
trait_name: &str,
trait_path: &Path,
dyn_eq_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