pub enum SpellingAlphabet {
Jan,
Lapd,
Nato,
RoyalNavy,
UsFinancial,
WesternUnion,
}Expand description
A spelling alphabet.
Variants§
Jan
The JAN (Joint Army/Navy) spelling alphabet.
Lapd
The LAPD (Los Angeles Police Department) spelling alphabet.
Nato
The NATO (North Atlantic Treaty Organization) spelling alphabet. This is the default.
The Royal Navy spelling alphabet.
UsFinancial
The United States Financial Industry spelling alphabet.
WesternUnion
The Western Union spelling alphabet.
Implementations§
Source§impl SpellingAlphabet
impl SpellingAlphabet
Sourcepub fn initialize(&self) -> HashMap<char, String>
pub fn initialize(&self) -> HashMap<char, String>
Generates and returns a character to code word map based on the current
SpellingAlphabet.
Trait Implementations§
Source§impl Clone for SpellingAlphabet
impl Clone for SpellingAlphabet
Source§fn clone(&self) -> SpellingAlphabet
fn clone(&self) -> SpellingAlphabet
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpellingAlphabet
impl Debug for SpellingAlphabet
Source§impl Default for SpellingAlphabet
impl Default for SpellingAlphabet
Source§fn default() -> SpellingAlphabet
fn default() -> SpellingAlphabet
Returns the “default value” for a type. Read more
Source§impl Hash for SpellingAlphabet
impl Hash for SpellingAlphabet
Source§impl PartialEq for SpellingAlphabet
impl PartialEq for SpellingAlphabet
impl Copy for SpellingAlphabet
impl Eq for SpellingAlphabet
impl StructuralPartialEq for SpellingAlphabet
Auto Trait Implementations§
impl Freeze for SpellingAlphabet
impl RefUnwindSafe for SpellingAlphabet
impl Send for SpellingAlphabet
impl Sync for SpellingAlphabet
impl Unpin for SpellingAlphabet
impl UnwindSafe for SpellingAlphabet
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