Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

get function name rust

use ::function_name::named;

fn main() {
	let func_name = function_name!();
	println!("{}",func_name);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #function #rust
ADD COMMENT
Topic
Name
9+5 =