this post was submitted on 22 Oct 2023
18 points (95.0% liked)
Rust
6128 readers
47 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Got it! this helps a lot, thanks. I think I was indeed thinking of it as some kind of pseudo type and not a type in of itself. I got a little lost in the further explanation, but I really need to spend more time understanding Clone and Copy in general. Thanks!
It's totally reasonable to assume that
&T
is a "pseudo-type"; that's very much what it is in C++, and there aren't any other mainstream languages with that syntax to compare against!