pub trait HasGenericParams: AstNode {
// Provided methods
fn generic_param_list(&self) -> Option<GenericParamList> { ... }
fn where_clause(&self) -> Option<WhereClause> { ... }
}Provided Methods§
fn generic_param_list(&self) -> Option<GenericParamList>
fn where_clause(&self) -> Option<WhereClause>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".