Rust/Variable/Constant
Properties
- alias
- Rust/const
const- Example
- required to have a Rust/Type/Annotation
- Naming Convention: all uppercase with underscores between words
- Rust/Expression/Constant Rust Reference’s section on constant evaluation
- There's a subset of expressions that can be used when creating a const. These are evaluated at Compile-time.
- See also