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 ==
.