MCPcopy Create free account
hub / github.com/bitflags/bitflags / ParseHex

Interface ParseHex

src/parser.rs:235–240  ·  view source on GitHub ↗

Parse a value from a hex string. */

Source from the content-addressed store, hash-verified

233Parse a value from a hex string.
234*/
235pub trait ParseHex {
236 /// Parse the value from hex.
237 fn parse_hex(input: &str) -> Result<Self, ParseError>
238 where
239 Self: Sized;
240}
241
242/// An error encountered while parsing flags from text.
243#[derive(Debug)]

Callers

nothing calls this directly

Implementers 1

bitflags_custom_bits.rstests/compile-fail/bitflags_custom_bit

Calls

no outgoing calls

Tested by

no test coverage detected