pub trait MetaIteratorExt<'a, M>{
// Required methods
fn to_multi_map<K, KF>(
self,
path_to_key: KF,
) -> Result<HashMap<K, Vec<(usize, M)>>>
where K: Hash + Eq,
KF: Fn(&Path) -> Result<Option<K>>;
fn to_unique_map<K, KF>(
self,
path_to_key: KF,
) -> Result<HashMap<K, (usize, M)>>
where K: Hash + Eq,
KF: Fn(&Path) -> Result<Option<K>>;
}Expand description
Constructs and returns map from syn::Meta iterator
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.