pub fn is_digit_radix(c: char, radix: uint) -> bool
Checks if a character parses as a numeric digit in the given radix.
Compared to is_digit()
, this function only recognizes the
characters 0-9
, a-z
and A-Z
.
Returns true
if c
is a valid digit under radix
, and false
otherwise.
Fails if given a radix
> 36.
This just wraps to_digit()
.
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
).