mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
HasGenericArgs syntax trait
This commit is contained in:
parent
6c8c49b01b
commit
c08d419fba
26 changed files with 83 additions and 41 deletions
|
@ -52,6 +52,11 @@ pub trait HasGenericParams: AstNode {
|
|||
support::child(self.syntax())
|
||||
}
|
||||
}
|
||||
pub trait HasGenericArgs: AstNode {
|
||||
fn generic_arg_list(&self) -> Option<ast::GenericArgList> {
|
||||
support::child(self.syntax())
|
||||
}
|
||||
}
|
||||
|
||||
pub trait HasTypeBounds: AstNode {
|
||||
fn type_bound_list(&self) -> Option<ast::TypeBoundList> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue