rust-Journey/Control_Flow
2025-12-16 22:10:06 +05:45
..
src first commit 2025-12-16 22:10:06 +05:45
Cargo.lock first commit 2025-12-16 22:10:06 +05:45
Cargo.toml first commit 2025-12-16 22:10:06 +05:45
README.md first commit 2025-12-16 22:10:06 +05:45

A non-copy type is a type that can't be duplicated smply by copying its bits.

  1. when you assign or pass a non-copy type, owenership is moved, not duplicated
  2. After a move, you can no longer use the original valu, unless you explicity clone it back