[][src]Struct translit::Gost779B

pub struct Gost779B { /* fields omitted */ }

Cyrillic transliteration table. implementation GOST 7.79 System B, modified ISO 9:1995. more details: http://en.wikipedia.org/wiki/ISO_9.

Check the possibility of transliteration is carried out at compile time

Examples


use translit::{Gost779B, ToLatin, Language};
// transliteration GOST 7.79 System B
let trasliterator = Gost779B::new(Language::Ru);
let res = trasliterator.to_latin("Россия");
assert_eq!("Rossiya", res);

Methods

impl Gost779B[src]

pub fn new(lang: Language) -> Gost779B[src]

Trait Implementations

impl ToLatin for Gost779B[src]

impl FromLatin for Gost779B[src]

Auto Trait Implementations

impl Send for Gost779B

impl Sync for Gost779B

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<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]