willow_data_model/groupings/
namespaced.rs

1/// A namespaced value is one with an associated [namespace id](https://willowprotocol.org/specs/data-model/index.html#NamespaceId) (of type `N`).
2pub trait Namespaced<N> {
3    /// Returns the [namespace id](https://willowprotocol.org/specs/data-model/index.html#NamespaceId) of `self`.
4    fn wdm_namespace_id(&self) -> &N;
5}