Enum html5ever::tendril::encoding_rs::mem::Latin1Bidi
source · #[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
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 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