pub trait BigMapKey:
Clone
+ Copy
+ Eq
+ PartialEq
+ Hash {
// Required methods
fn to_u64(&self) -> u64;
fn from_u64(value: u64) -> Self;
}Expand description
Key type for BigMap: must be convertible to/from u64.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.