Extension trait for hash state accumulators.
This trait adds the update_with method to hash states, allowing you to directly hash values of
any type T that implements Hash, rather than having to manually convert values to felt252
first. This provides a more ergonomic API when working with complex types.