tuple-into

Crates.iotuple-into
lib.rstuple-into
version0.1.0
created_at2025-02-28 04:50:50.613632+00
updated_at2025-02-28 04:50:50.613632+00
descriptionA trait providing a convenient way to convert tuples of convertible elements.
homepage
repositoryhttps://github.com/griwes/tuple-into
max_upload_size
id1572449
size2,853
MichaƂ Dominiak (griwes)

documentation

https://docs.rs/tuple-into

README

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")'
}
Commit count: 1

cargo fmt