Class Raw::ConstParam
INTERNAL: Do not use. A constant parameter in a generic parameter list.
For example:
struct Foo <const N: usize>;
// ^^^^^^^^^^^^^^
Import path
import codeql.rust.elements.internal.generated.RawDirect supertypes
Indirect supertypes
Predicates
| getAttr | Gets the |
| getDefaultVal | Gets the default val of this const parameter, if it exists. |
| getName | Gets the name of this const parameter, if it exists. |
| getNumberOfAttrs | Gets the number of attrs of this const parameter. |
| getTypeRepr | Gets the type representation of this const parameter, if it exists. |
| isConst | Holds if this const parameter is const. |
| toString |