morse-lib 0.4.3

Library for coding/decoding Morse Code with multilanguage support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[derive(Debug, PartialEq, Clone)]
pub struct DisplayChars {
    pub dot: String,
    pub line: String,
    pub whitespace: String,
}

impl Default for DisplayChars {
    fn default() -> Self {
        Self {
            dot: '.'.to_string(),
            line: ''.to_string(),
            whitespace: ' '.to_string(),
        }
    }
}