Function unicode_line_stacker::stack[][src]

pub fn stack(a: char, b: char) -> Option<char>

Stack two line-drawing characters on top of each other and return the result.

Returns None if one or both of the input characters are unsupported.

Examples

let a = '─';
let b = '│';
let result = unicode_line_stacker::stack(a, b);
assert_eq!(Some('┼'), result);