Skip to main content

ParseIntTarget

Trait ParseIntTarget 

Source
pub trait ParseIntTarget:
    Sized
    + Send
    + Sync
    + 'static {
    // Required methods
    fn parse_int(value: &str) -> Result<Self, String>;
    fn target_name() -> &'static str;
}

Required Methods§

Source

fn parse_int(value: &str) -> Result<Self, String>

Source

fn target_name() -> &'static str

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ParseIntTarget for i8

Source§

fn parse_int(value: &str) -> Result<Self, String>

Source§

fn target_name() -> &'static str

Source§

impl ParseIntTarget for i16

Source§

fn parse_int(value: &str) -> Result<Self, String>

Source§

fn target_name() -> &'static str

Source§

impl ParseIntTarget for i32

Source§

fn parse_int(value: &str) -> Result<Self, String>

Source§

fn target_name() -> &'static str

Source§

impl ParseIntTarget for i64

Source§

fn parse_int(value: &str) -> Result<Self, String>

Source§

fn target_name() -> &'static str

Source§

impl ParseIntTarget for i128

Source§

fn parse_int(value: &str) -> Result<Self, String>

Source§

fn target_name() -> &'static str

Source§

impl ParseIntTarget for isize

Source§

fn parse_int(value: &str) -> Result<Self, String>

Source§

fn target_name() -> &'static str

Source§

impl ParseIntTarget for u8

Source§

fn parse_int(value: &str) -> Result<Self, String>

Source§

fn target_name() -> &'static str

Source§

impl ParseIntTarget for u16

Source§

fn parse_int(value: &str) -> Result<Self, String>

Source§

fn target_name() -> &'static str

Source§

impl ParseIntTarget for u32

Source§

fn parse_int(value: &str) -> Result<Self, String>

Source§

fn target_name() -> &'static str

Source§

impl ParseIntTarget for u64

Source§

fn parse_int(value: &str) -> Result<Self, String>

Source§

fn target_name() -> &'static str

Source§

impl ParseIntTarget for u128

Source§

fn parse_int(value: &str) -> Result<Self, String>

Source§

fn target_name() -> &'static str

Source§

impl ParseIntTarget for usize

Source§

fn parse_int(value: &str) -> Result<Self, String>

Source§

fn target_name() -> &'static str

Implementors§