Function unicode_line_stacker::char_to_bits[][src]

pub fn char_to_bits(c: char) -> Option<usize>

Convert a line-drawing char to a bitset (or None if the char is unsupported).

Examples

let c = '┬';
let result = unicode_line_stacker::char_to_bits(c);
assert_eq!(Some(0b1110), result);