pub fn find_pat_ids<T, I: IdentLike>(node: &T) -> Vec<I>where
T: VisitWith<DestructuringFinder<I>>,
Expand description
Finds all binding idents of node
.
If you want to avoid allocation, use for_each_binding_ident
instead.
pub fn find_pat_ids<T, I: IdentLike>(node: &T) -> Vec<I>where
T: VisitWith<DestructuringFinder<I>>,
Finds all binding idents of node
.
If you want to avoid allocation, use for_each_binding_ident
instead.