Function chalk_derive::derive_type_visitable
source · pub(crate) fn derive_type_visitable(s: Structure<'_>) -> TokenStream
Expand description
Derives TypeVisitable for structs and enums for which one of the following is true:
- It has a
#[has_interner(TheInterner)]
attribute - There is a single parameter
T: HasInterner
(does not have to be namedT
) - There is a single parameter
I: Interner
(does not have to be namedI
)