Trait std::to_num::ToNum [] [src]

pub trait ToNum {
    fn to_num_radix(&self, radix: u32) -> u32;
    fn to_num_radix_signed(&self, radix: u32) -> i32;
    fn to_num(&self) -> u32;
    fn to_num_signed(&self) -> i32;
}

Parse the string to a integer using a given radix

Required Methods

fn to_num_radix(&self, radix: u32) -> u32

fn to_num_radix_signed(&self, radix: u32) -> i32

fn to_num(&self) -> u32

fn to_num_signed(&self) -> i32

Implementors