Skip to main content

container_key

Function container_key 

Source
pub fn container_key<T: KeyValue>(
    name: &str,
    default: impl IntoKeyValue<T>,
) -> CustomContainerKey<T>
Expand description

Define a container-value key, or return the one already defined for name.

§Panics

Past keypath::VALUE_SLOTS synthesised key paths — the pool is shared with focus_key, env_key and each named property of an observable model.