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

Method from_str

examples/fmt.rs:33–35  ·  view source on GitHub ↗
(flags: &str)

Source from the content-addressed store, hash-verified

31 type Err = bitflags::parser::ParseError;
32
33 fn from_str(flags: &str) -> Result<Self, Self::Err> {
34 bitflags::parser::from_str(flags)
35 }
36}
37
38fn main() -> Result<(), bitflags::parser::ParseError> {

Callers

nothing calls this directly

Calls 1

from_strFunction · 0.85

Tested by

no test coverage detected