I can not find a built-in function to check the type of my param in this function (Rust):
pub fn notify<T: Summary + Display>(item: &T) {
// type of "item" (Summary || Display)
}
I can not find a built-in function to check the type of my param in this function (Rust):
pub fn notify<T: Summary + Display>(item: &T) {
// type of "item" (Summary || Display)
}