Trait syn_ext::ext::NestedMetaRefIteratorExt [−][src]
pub trait NestedMetaRefIteratorExt<'a, M> where
M: 'a + Borrow<Meta>, {
fn to_multi_map_and_lits<K, KF>(
self,
path_to_key: KF
) -> Result<(Map<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<(Map<K, (usize, M)>, Vec<(usize, &'a Lit)>)>
where
K: Hash + Eq,
KF: Fn(&Path) -> Result<Option<K>>;
}Expand description
experimental