#[repr(C)]pub enum Latin1Bidi {
Latin1 = 0,
LeftToRight = 1,
Bidi = 2,
}Expand description
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§
source§impl Debug for Latin1Bidi
impl Debug for Latin1Bidi
source§impl PartialEq for Latin1Bidi
impl PartialEq for Latin1Bidi
impl Eq for Latin1Bidi
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 UnwindSafe for Latin1Bidi
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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