Function bitflags::parser::to_writer

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

Write a set of flags to a writer.

Any bits that don’t correspond to a valid flag will be formatted as a hex number.