1 unstable release
new 0.1.0 | Feb 28, 2025 |
---|
#1364 in Development tools
3KB
tuple-into
A trait providing a convenient way to convert tuples of compatible elements.
use tuple_into::TupleInto;
fn main() {
let tuple: (String, String) = ("hello", "world").tuple_into();
println!("{tuple:?}"); // '("hello", "world")'
}
Dependencies
~3KB