pub trait HasPublicKeyHash {
type TypedPublicKeyHash: IsPublicKeyHash;
// Required method
fn get_hash(&self) -> Self::TypedPublicKeyHash;
// Provided method
fn signature_proof(&self) -> NonFungibleGlobalId { ... }
}Required Associated Types§
Required Methods§
fn get_hash(&self) -> Self::TypedPublicKeyHash
Provided Methods§
fn signature_proof(&self) -> NonFungibleGlobalId
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".