Enum Latin1Bidi

enum Latin1Bidi

Classification of text as Latin1 (all code points are below U+0100), left-to-right with some non-Latin1 characters or as containing at least some right-to-left characters.

Variants

Latin1

Every character is below U+0100.

LeftToRight

There is at least one character that's U+0100 or higher, but there are no right-to-left characters.

Bidi

There is at least one right-to-left character.

Implementations

impl Debug for Latin1Bidi

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Eq for Latin1Bidi

impl Freeze for Latin1Bidi

impl PartialEq for Latin1Bidi

fn eq(self: &Self, other: &Latin1Bidi) -> bool

impl RefUnwindSafe for Latin1Bidi

impl Send for Latin1Bidi

impl StructuralPartialEq for Latin1Bidi

impl Sync for Latin1Bidi

impl Unpin for Latin1Bidi

impl UnsafeUnpin for Latin1Bidi

impl UnwindSafe for Latin1Bidi

impl<T> Any for Latin1Bidi

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Latin1Bidi

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Latin1Bidi

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for Latin1Bidi

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for Latin1Bidi

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Latin1Bidi

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Latin1Bidi

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>