Skip to main content

vtable_static_ident

Function vtable_static_ident 

Source
pub(crate) fn vtable_static_ident(trait_name: &Ident, type_name: &str) -> Ident
Expand description

__VTABLE_<crate>_<Trait>_FOR_<Type> — trait-impl vtable static. Preserve spelling: Rust distinguishes Counter from counter, as must both the Rust identifier and the exported linker symbol. type_name may carry the existing generic-argument hash suffix.