Function repr::strconv::format_bool [−][src]
pub fn format_bool<F>(buf: &mut F, b: bool) -> Nestable where
F: FormatBuffer,
Expand description
Writes a boolean value into buf
.
true
is encoded as the char 't'
and false
is encoded as the char
'f'
.