Trait gear_common::storage::KeyFor
source · pub trait KeyFor {
type Key;
type Value;
// Required method
fn key_for(value: &Self::Value) -> Self::Key;
}
Expand description
Represents logic of providing key as specified (associated) type for given as specified (associated) type value by reference.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.