rust-Journey/Control_Flow/README.md
2025-12-16 22:10:06 +05:45

254 B

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