io::writeln_character!
[−]
[src]
macro_rules! writeln_character { ($character: expr) => ({ writeln_character!($character, 1) }); ($character: expr, $out: expr) => ({ write!([$character].as_ptr(), 1, $out) && write!("\n".as_ptr(), $out) }); }
The write_character
macro writes to output the character with a breakline
and returns the Some 0i32 or None according to success.