#primitive #string #display #debugging

to_string

Simple functions to print primitives as strings

1 unstable release

Uses old Rust 2015

0.1.0 Jul 2, 2017

#354 in #primitive

MPL-2.0 license

7KB
55 lines

to_string

0xdeadbeef.to_hexa_string()
0b10101.to_bin_string()

Provided methods:

  • to_bin() / to_binary_string()
  • to_hexa() / to_hexa_string()
  • to_octal() / to_octal_string()
  • to_exp() / to_exp_string()
  • to_pointer() / to_pointer_string()
  • to_debug() / to_debug_string()

No runtime deps