Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitflags/bitflags
/ from_str
Method
from_str
benches/parse.rs:28–30 ·
view source on GitHub ↗
(flags: &str)
Source
from the content-addressed store, hash-verified
26
type Err = bitflags::parser::ParseError;
27
28
fn from_str(flags: &str) -> Result<Self, Self::Err> {
29
Ok(Flags10(flags.parse()?))
30
}
31
}
32
33
impl Display for Flags10 {
Callers
nothing calls this directly
Calls
1
Ok
Class · 0.85
Tested by
no test coverage detected