[][src]Struct translit::Passport2013

pub struct Passport2013 { /* fields omitted */ }

Cyrillic Russian transliteration table. implementation Passport (2013), ICAO. more details: Romanization_of_Russian#After_2013

Attention! Transliteration from Latin alphabet to Cyrillic text not supported. In transliteration from the Cyrillic to the Latin alphabet excludes the letter ь. Check the possibility of transliteration is carried out at compile time

Examples


use translit::{Passport2013, ToLatin};
// transliteration Passport (2013), ICAO
let trasliterator = Passport2013::new();
let res = trasliterator.to_latin("Москва, Тверская улица");
assert_eq!("Moskva, Tverskaia ulitsa", res);

Methods

impl Passport2013[src]

Trait Implementations

impl ToLatin for Passport2013[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]