traits

Core traits for various operations.This module provides a collection of essential traits that define common behavior patterns for Cairo types. # Main Categories ## Memory Management - Copy: Enables value semantics for types - Drop: Allows values to be safely discarded - Destruct: Provides custom cleanup behavior for non-droppable types - PanicDestruct: Handles destruction during panic scenarios ## Arithmetic Operations - Add, Sub, Mul, Div, Rem: Standard arithmetic operators (+, -, *, /, %) - DivRem: Combined division and remainder operation - Neg: Unary negation (-) ## Bitwise Operations - BitAnd, BitOr, BitXor: Binary bitwise operations (&, |, ^) - BitNot: Unary bitwise complement (~) ## Comparison - PartialEq: Equality comparison (==, !=) - PartialOrd: Ordering comparison (<, <=, >, >=) ## Type Conversion - Into: Infallible type conversion - TryInto: Fallible type conversion ## Utility Traits - Default: Creation of default values - Felt252DictValue: Support for dictionary value types

Fully qualified path: core::traits

Traits