Get Values Out Of A Tuple In Rust
This is how to access the values of a rust tuple directly
Code
Results
The second character is: b
*** Destructuring
And this is how to do it with destructuring
Code
Results
The value of y is: 6.4
This is how to access the values of a rust tuple directly
The second character is: b
*** Destructuring
And this is how to do it with destructuring
The value of y is: 6.4