Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

rust find type

fn type_of<T>(_: T) -> String { std::any::type_name::<T>().to_string() }
Source by qiita.com #
 
PREVIOUS NEXT
Tagged: #rust #find #type
ADD COMMENT
Topic
Name
4+4 =