|
|
|
|
|
by foldr
2875 days ago
|
|
https://doc.rust-lang.org/book/first-edition/raw-pointers.ht... *const u32
(for example) is a clearly a Rust type -- a const pointer to an unsigned 32-bit integer, analogous to const uint32_t *p
in C/C++.I'm not sure what you mean about trait names. The purpose of the Any trait is to make it possible to pass around values of any type and dynamically downcast them, as the documentation indicates. That is a safe analogue of casting a void pointer to another type. |
|