Trait bitflags::parser::ParseHex

source ·
pub trait ParseHex {
    // Required method
    fn parse_hex(input: &str) -> Result<Self, ParseError>
       where Self: Sized;
}
Expand description

Parse a value from a hex string.

Required Methods§

source

fn parse_hex(input: &str) -> Result<Self, ParseError>
where Self: Sized,

Parse the value from hex.

Implementations on Foreign Types§

source§

impl ParseHex for i8

source§

fn parse_hex(input: &str) -> Result<Self, ParseError>

source§

impl ParseHex for i16

source§

fn parse_hex(input: &str) -> Result<Self, ParseError>

source§

impl ParseHex for i32

source§

fn parse_hex(input: &str) -> Result<Self, ParseError>

source§

impl ParseHex for i64

source§

fn parse_hex(input: &str) -> Result<Self, ParseError>

source§

impl ParseHex for i128

source§

fn parse_hex(input: &str) -> Result<Self, ParseError>

source§

impl ParseHex for isize

source§

fn parse_hex(input: &str) -> Result<Self, ParseError>

source§

impl ParseHex for u8

source§

fn parse_hex(input: &str) -> Result<Self, ParseError>

source§

impl ParseHex for u16

source§

fn parse_hex(input: &str) -> Result<Self, ParseError>

source§

impl ParseHex for u32

source§

fn parse_hex(input: &str) -> Result<Self, ParseError>

source§

impl ParseHex for u64

source§

fn parse_hex(input: &str) -> Result<Self, ParseError>

source§

impl ParseHex for u128

source§

fn parse_hex(input: &str) -> Result<Self, ParseError>

source§

impl ParseHex for usize

source§

fn parse_hex(input: &str) -> Result<Self, ParseError>

Implementors§