Imagine you want to provide an alternative implementation for a specific type-parameter of a generic function:
```rust use genericcast::{castref, equals}; use std::ops::Add;
fn double
Or maybe just check if the type-paramter is a specific type:
rust
fn print<T: 'static + std::fmt::Display>(a: T) {
if generic_cast::equals::<T, f32>() {
println!("Its a float!");
}
println!("{}", a);
}