Enum Latin1Bidi
#[must_use]
#[repr(C)]
pub 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 = 0 Every character is below U+0100.
-
LeftToRight = 1 There is at least one character that's U+0100 or higher, but there are no right-to-left characters.
-
Bidi = 2 There is at least one right-to-left character.
Trait Implementations
impl Debug for Latin1Bidi
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for Latin1Bidi
impl PartialEq for Latin1Bidi
fn eq(&self, other: &Self) -> bool
impl StructuralPartialEq for Latin1Bidi
Auto Trait Implementations
impl Freeze for Latin1Bidi
impl RefUnwindSafe for Latin1Bidi
impl Send for Latin1Bidi
impl Sync for Latin1Bidi
impl Unpin for Latin1Bidi
impl UnsafeUnpin for Latin1Bidi
impl UnwindSafe for Latin1Bidi
Blanket Implementations
impl<T> Any for Latin1Bidi
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Latin1Bidi
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Latin1Bidi
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for Latin1Bidi
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for Latin1Bidi
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Latin1Bidi
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for Latin1Bidi
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>