Function bitflags::parser::from_str

source ·
pub fn from_str<B: Flags>(input: &str) -> Result<B, ParseError>where
    B::Bits: ParseHex,
Expand description

Parse a set of flags from text.

This function will fail on unknown flags rather than ignore them.