Enum spellabet::SpellingAlphabet
source · 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 Default for SpellingAlphabet
impl Default for SpellingAlphabet
source§fn default() -> SpellingAlphabet
fn default() -> SpellingAlphabet
Returns the “default value” for a type. Read more
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