Получить имя функции ржавчины
use ::function_name::named;
fn main() {
let func_name = function_name!();
println!("{}",func_name);
}
SnefDen
use ::function_name::named;
fn main() {
let func_name = function_name!();
println!("{}",func_name);
}