bitflags::parser

Trait 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§