INTERNAL: Do not use. A binding pattern. For example:
match x {
Option::Some(y) => y,
Option::None => 0,
};
match x {
y@Option::Some(_) => y,
Option::None => 0,
};
Import path
import codeql.rust.elements.internal.generated.RawDirect supertypes
Predicates
| getAttr | Gets the |
| getName | Gets the name of this ident pattern, if it exists. |
| getNumberOfAttrs | Gets the number of attrs of this ident pattern. |
| getPat | Gets the pattern of this ident pattern, if it exists. |
| isMut | Holds if this ident pattern is mut. |
| isRef | Holds if this ident pattern is reference. |
| toString |