/// Extension trait for pulling specific generics data from a generics AST representation. pubtrait GenericsExt { /// Get the set of all lifetimes declared by the syntax element. /// This does not look for usage of the lifetime; see `UsesLifetimes` for that. fn declared_lifetimes(&self) -> LifetimeSet;
/// Get the set of all type parameters declared by the syntax element. /// This does not look for usage of the type parameter; see `UsesTypeParams` for that. fn declared_type_params(&self) -> IdentSet;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.