pub enum BidiClass {
Show 23 variants
ArabicLetter,
ArabicNumber,
ParagraphSeparator,
BoundaryNeutral,
CommonSeparator,
EuropeanNumber,
EuropeanSeparator,
EuropeanTerminator,
FirstStrongIsolate,
LeftToRight,
LeftToRightEmbedding,
LeftToRightIsolate,
LeftToRightOverride,
NonspacingMark,
OtherNeutral,
PopDirectionalFormat,
PopDirectionalIsolate,
RightToLeft,
RightToLeftEmbedding,
RightToLeftIsolate,
RightToLeftOverride,
SegmentSeparator,
WhiteSpace,
}
Expand description
Represents the Unicode character
Bidi_Class
property, also known as the
bidirectional character type.
Variants§
ArabicLetter
A strong Right-to-Left (Arabic-type) character
ArabicNumber
A (non-Eastern) Arabic-Indic digit
ParagraphSeparator
A newline character
BoundaryNeutral
Most format characters, control codes, and noncharacters
CommonSeparator
A comma, colon, or slash
EuropeanNumber
A ASCII digit or Eastern Arabic-Indic digit
EuropeanSeparator
A plus or minus sign
EuropeanTerminator
A terminator in a numeric format context (including currency signs)
FirstStrongIsolate
U+2068: The first strong isolate control
LeftToRight
A strong Left-to-Right character
LeftToRightEmbedding
U+202A: the Left-to-Right embedding control
LeftToRightIsolate
U+2066: the Left-to-Right isolate control
LeftToRightOverride
U+202D: the Left-to-Right override control
NonspacingMark
A nonspacing mark
OtherNeutral
Symbols and Punctuation not in a different category
PopDirectionalFormat
U+202C: terminates an embedding or override control
PopDirectionalIsolate
U+2069: terminates an isolate control
RightToLeft
A strong Right-to-Left (non-Arabic-type) character
RightToLeftEmbedding
U+202B: The Right-to-Left embedding control
RightToLeftIsolate
U+2067: The Right-to-Left isolate control
RightToLeftOverride
U+202E: The Right-to-Left override control
SegmentSeparator
A segment-related control code
WhiteSpace
Whitespace
Implementations§
Trait Implementations§
Source§impl CharProperty for BidiClass
impl CharProperty for BidiClass
Source§fn prop_abbr_name() -> &'static str
fn prop_abbr_name() -> &'static str
Source§fn prop_long_name() -> &'static str
fn prop_long_name() -> &'static str
Source§fn prop_human_name() -> &'static str
fn prop_human_name() -> &'static str
Source§impl Default for BidiClass
impl Default for BidiClass
UCD/extracted/DerivedBidiClass.txt:
“All code points not explicitly listed for Bidi_Class
have the value Left_To_Right
(L
).”
Source§impl EnumeratedCharProperty for BidiClass
impl EnumeratedCharProperty for BidiClass
Source§fn all_values() -> &'static [BidiClass]
fn all_values() -> &'static [BidiClass]
Source§fn human_name(&self) -> &'static str
fn human_name(&self) -> &'static str
Source§impl TotalCharProperty for BidiClass
impl TotalCharProperty for BidiClass
impl Copy for BidiClass
impl Eq for BidiClass
impl StructuralPartialEq for BidiClass
Auto Trait Implementations§
impl Freeze for BidiClass
impl RefUnwindSafe for BidiClass
impl Send for BidiClass
impl Sync for BidiClass
impl Unpin for BidiClass
impl UnwindSafe for BidiClass
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)