codeql/rust-all
0.2.21
For other CodeQL resources, including tutorials and examples, see the CodeQL documentation
.
Gets the trait being implemented, if any.
For example, in
impl MyType { ... } impl MyTrait for MyType { ... }
the trait being implemented is in the second case MyTrait.
MyTrait
Trait getTrait()