Function mavspec::rust::spec::bitflags::parser::from_str_truncate

source ·
pub fn from_str_truncate<B>(input: &str) -> Result<B, ParseError>
where B: Flags, <B as Flags>::Bits: ParseHex,
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 ignored.