Home
last modified time | relevance | path

Searched refs:FN_PREFIX (Results 1 – 1 of 1) sorted by relevance

/DragonOS/kernel/crates/intertrait/macros/src/
H A Dgen_caster.rs55 const FN_PREFIX: &[u8] = b"__"; constant
56 const FN_BUF_LEN: usize = FN_PREFIX.len() + Simple::LENGTH;
59 buf[..FN_PREFIX.len()].copy_from_slice(FN_PREFIX); in new_fn_name()
62 .encode_lower(&mut buf[FN_PREFIX.len()..]); in new_fn_name()