filter_by_name
rustc_
ast
1.94.0-nightly
(f52090008 2025-12-10)
In rustc_
ast::
attr
rustc_ast
::
attr
Function
filter_
by_
name
Copy item path
Source
pub fn filter_by_name<A:
AttributeExt
>( attrs: &
[A]
, name:
Symbol
, ) -> impl
Iterator
<Item =
&A
>