revive-common 1.2.0

Shared constants of the revive compiler
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! The number base constants.

/// The binary number base.
pub const BASE_BINARY: u32 = 2;

/// The octal number base.
pub const BASE_OCTAL: u32 = 8;

/// The decimal number base.
pub const BASE_DECIMAL: u32 = 10;

/// The hexadecimal number base.
pub const BASE_HEXADECIMAL: u32 = 16;