MCPcopy Create free account
hub / github.com/bitflags/bitflags / write

Function write

src/tests/parser.rs:151–159  ·  view source on GitHub ↗
(value: F)

Source from the content-addressed store, hash-verified

149 }
150
151 fn write<F: Flags>(value: F) -> String
152 where
153 F::Bits: crate::parser::WriteHex,
154 {
155 let mut s = String::new();
156
157 to_writer(&value, &mut s).unwrap();
158 s
159 }
160}
161
162mod from_str_truncate {

Callers

nothing calls this directly

Calls 3

to_writerFunction · 0.85
to_writer_truncateFunction · 0.85
to_writer_strictFunction · 0.85

Tested by

no test coverage detected