bitflags::parser

Function to_writer_truncate

source
pub fn to_writer_truncate<B: Flags>(
    flags: &B,
    writer: impl Write,
) -> Result<(), Error>
where B::Bits: WriteHex,
Expand description

Write a flags value as text, ignoring any unknown bits.