INTERNAL: Do not use. A type bound in a trait or generic parameter.
For example:
fn foo<T: Debug>(t: T) {}
// ^^^^^
fn bar(value: impl for<'a> From<&'a str>) {}
// ^^^^^^^^^^^^^^^^^^^^^
Import path
import codeql.rust.elements.internal.generated.RawDirect supertypes
Indirect supertypes
Predicates
| getForBinder | Gets the for binder of this type bound, if it exists. |
| getLifetime | Gets the lifetime of this type bound, if it exists. |
| getTypeRepr | Gets the type representation of this type bound, if it exists. |
| getUseBoundGenericArgs | Gets the use bound generic arguments of this type bound, if it exists. |
| isAsync | Holds if this type bound is async. |
| isConst | Holds if this type bound is const. |
| toString |