pub trait NestedMetaRefIteratorExt<'a, M>{
// Required methods
fn to_multi_map_and_lits<K, KF>(
self,
path_to_key: KF,
) -> Result<(HashMap<K, Vec<(usize, M)>>, Vec<(usize, &'a Lit)>)>
where K: Hash + Eq,
KF: Fn(&Path) -> Result<Option<K>>;
fn to_unique_map_and_lits<K, KF>(
self,
path_to_key: KF,
) -> Result<(HashMap<K, (usize, M)>, Vec<(usize, &'a Lit)>)>
where K: Hash + Eq,
KF: Fn(&Path) -> Result<Option<K>>;
}Expand description
experimental
Required Methods§
fn to_multi_map_and_lits<K, KF>( self, path_to_key: KF, ) -> Result<(HashMap<K, Vec<(usize, M)>>, Vec<(usize, &'a Lit)>)>
fn to_unique_map_and_lits<K, KF>( self, path_to_key: KF, ) -> Result<(HashMap<K, (usize, M)>, Vec<(usize, &'a Lit)>)>
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.