Function std::fmt::radix
pub fn radix<T>(x: T, base: u8) -> RadixFmt<T, Radix>
Constructs a radix formatter in the range of 2..36
.
Example
use std::fmt::radix; assert_eq!(format!("{}", radix(55, 36)), ~"1j");
pub fn radix<T>(x: T, base: u8) -> RadixFmt<T, Radix>
Constructs a radix formatter in the range of 2..36
.
use std::fmt::radix; assert_eq!(format!("{}", radix(55, 36)), ~"1j");
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).