pub struct AnyAscii;Expand description
Generic transliteration for every script, via the any_ascii crate.
Good enough for most text, but it does not know national rules: Ukrainian “Юрій” becomes “Yuriy” here and “Yurii” officially.
Trait Implementations§
impl Copy for AnyAscii
Source§impl Transliterator for AnyAscii
impl Transliterator for AnyAscii
Source§fn transliterate(&self, text: &str) -> String
fn transliterate(&self, text: &str) -> String
Returns
text written with ASCII characters only.Auto Trait Implementations§
impl Forget for AnyAscii
impl Freeze for AnyAscii
impl Move for AnyAscii
impl RefUnwindSafe for AnyAscii
impl Send for AnyAscii
impl Sync for AnyAscii
impl Unpin for AnyAscii
impl UnsafeUnpin for AnyAscii
impl UnwindSafe for AnyAscii
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more