Enum encoding_rs::mem::Latin1Bidi
source · #[repr(C)]pub enum Latin1Bidi {
Latin1,
LeftToRight,
Bidi,
}
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
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.
Trait Implementations§
source§impl Debug for Latin1Bidi
impl Debug for Latin1Bidi
source§impl PartialEq<Latin1Bidi> for Latin1Bidi
impl PartialEq<Latin1Bidi> for Latin1Bidi
source§fn eq(&self, other: &Latin1Bidi) -> bool
fn eq(&self, other: &Latin1Bidi) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Latin1Bidi
impl StructuralEq for Latin1Bidi
impl StructuralPartialEq for Latin1Bidi
Auto Trait Implementations§
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