Enumsยง
- Clause
Flavor ๐
Functionsยง
- find_
param_ ๐in_ ty - Traverses the given ty (either a
ty::Ty
or aty::GenericArg
) and searches for references to the givenparam_to_point_at
. Returnstrue
if it finds any use of the param. - is_
iterator_ ๐singleton - Returns
Some(iterator.next())
if it has exactly one item, andNone
otherwise.