pub struct MorseNotation {
pub dit: Character,
pub dah: Character,
pub word_delimiter: Character,
}
Expand description
Notation characters to be used while outputting morse code as signal characters ie: “… — …”
Default is ‘.’ for dit, ‘-’ as dah and ‘/’ for word delimiter.
You can change these characters by using with_notation
builder method of Encoder.
You can use byte characters b’X’ or chars if utf8 feature is enabled like: ‘X’
Fields§
§dit: Character
§dah: Character
§word_delimiter: Character
Auto Trait Implementations§
impl Freeze for MorseNotation
impl RefUnwindSafe for MorseNotation
impl Send for MorseNotation
impl Sync for MorseNotation
impl Unpin for MorseNotation
impl UnwindSafe for MorseNotation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more