The Rust Programming Language Forum
Why do I need to use pointers for non-primitives (BEGINNER)
help
matveyryabov
July 22, 2019, 6:10pm
4
Is this due to their heap-allocated nature? Why do non-primitives require you to clone?
show post in topic
Related topics
Topic
Replies
Views
Activity
Newbie question about vectors vs vector references
help
7
2738
October 15, 2018
Rust References - Few points - Request for comments
tutorials
25
1988
April 30, 2020
References are not pointers
16
2877
April 26, 2020
Why does reading a raw pointer cause a drop?
help
11
3532
October 27, 2021
Why is an immutable reference to a vector not allowed in this case?
help
18
1420
November 22, 2023