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

Method from_str

examples/macro_free.rs:44–46  ·  view source on GitHub ↗
(input: &str)

Source from the content-addressed store, hash-verified

42 type Err = bitflags::parser::ParseError;
43
44 fn from_str(input: &str) -> Result<Self, Self::Err> {
45 bitflags::parser::from_str(input)
46 }
47}
48
49// Not required: Add formatting support

Callers

nothing calls this directly

Calls 1

from_strFunction · 0.85

Tested by

no test coverage detected