Exploring Rust Generics Functionality