pub fn from_str<B: Flags>(input: &str) -> Result<B, ParseError>
Expand description
Parse a flags value from text.
This function will fail on any names that don’t correspond to defined flags. Unknown bits will be retained.
pub fn from_str<B: Flags>(input: &str) -> Result<B, ParseError>
Parse a flags value from text.
This function will fail on any names that don’t correspond to defined flags. Unknown bits will be retained.