Skip to main content

vtable_static_ident

Function vtable_static_ident 

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

__VTABLE_<CRATE>_<TRAIT>_FOR_<TYPE> — trait-impl vtable static.

trait_name_upper / type_name_str are already uppercased by the caller (matching the pre-existing convention); the crate prefix is uppercased here to match.