Crate extprim_literals [−] [src]
Literal macros for
This crate provides a syntex extension (on stable) so that the
extprim types can be
constructed at compile-time using the
extprim_literals to dependencies in
[dependencies] extprim_literals = "2.0"
Use the macros in
#[macro_use] extern crate extprim_literals; extern crate extprim; use extprim::u128::u128; const TEN: u128 = u128!(10);
Creates a signed 128-bit integer at compile time. The content can be any integer literals supported by Rust, e.g.
Creates an unsigned 128-bit integer at compile time. The content can be any integer literals supported by Rust, e.g.
Provided for backward-compatibility only. This method does nothing.