A trait for copying values. By default, variables in Cairo have ‘move semantics’, meaning they are moved when used. However, types implementingDocumentation Index
Fetch the complete documentation index at: https://docs.starknet.io/llms.txt
Use this file to discover all available pages before exploring further.
Copy have ‘copy semantics’, allowing the value to be
duplicated instead of moved.
Signature
Examples
WithoutCopy (move semantics):
Copy (copy semantics):