Skip to navigation
How check type of variable with rust
20.07.23
```rust use std::any::type_name; fn type_of
(_: T) -> &'static str { type_name::
() } println!("{:?}", type_of(&v); ```
https://users.rust-lang.org/t/how-check-type-of-variable/33845
Reply
Anonymous
Information Epoch 1742188129
Small is beautiful.
Home
Notebook
Contact us