Beginner Rust
Q5 / 100

What is the Copy trait?

Correct! Well done.

Incorrect.

The correct answer is B) A marker trait for types that can be bitwise-copied on assignment, so the original remains valid

B

Correct Answer

A marker trait for types that can be bitwise-copied on assignment, so the original remains valid

Explanation

Types like i32, bool, char, and tuples of Copy types implement Copy. let x = 5; let y = x; — x is still valid because integers are Copy.

Progress
5/100