Trait kernel::common::to_num::ToNum
[−]
[src]
pub trait ToNum { fn to_num_radix(&self, radix: usize) -> usize; fn to_num_radix_signed(&self, radix: usize) -> isize; fn to_num(&self) -> usize; fn to_num_signed(&self) -> isize; }
Parse the string to a integer using a given radix
Required Methods
fn to_num_radix(&self, radix: usize) -> usize
fn to_num_radix_signed(&self, radix: usize) -> isize
fn to_num(&self) -> usize
fn to_num_signed(&self) -> isize
Implementors
impl ToNum for str