Function bevy_macro_utils::derive_label
source · [−]pub fn derive_label(input: DeriveInput, trait_path: &Path) -> TokenStream
Expand description
Derive a label trait
Args
input
: Thesyn::DeriveInput
for struct that is deriving the label traittrait_path
: The pathsyn::Path
to the label trait