[−]Enum unic_ucd_bidi::bidi_class::BidiClass
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
Methods
impl BidiClass
[src]
pub fn of(ch: char) -> BidiClass
[src]
Find the character Bidi_Class
property value.
pub fn category(&self) -> BidiClassCategory
[src]
If the BidiClass
has strong or explicit Left-to-Right direction.
pub fn is_ltr(&self) -> bool
[src]
If the BidiClass
has strong or explicit Left-to-Right direction.
pub fn is_rtl(&self) -> bool
[src]
If the BidiClass
has strong or explicit Right-To-Left direction.
Trait Implementations
impl PartialEq<BidiClass> for BidiClass
fn eq(&self, other: &BidiClass) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for BidiClass
impl Display for BidiClass
impl Debug for BidiClass
impl Hash for BidiClass
fn hash<__H: Hasher>(&self, state: &mut __H)
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Copy for BidiClass
impl FromStr for BidiClass
type Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
impl Clone for BidiClass
fn clone(&self) -> BidiClass
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for BidiClass
[src]
UCD/extracted/DerivedBidiClass.txt:
"All code points not explicitly listed for Bidi_Class
have the value Left_To_Right
(L
)."
impl CharProperty for BidiClass
fn prop_abbr_name() -> &'static str
fn prop_long_name() -> &'static str
fn prop_human_name() -> &'static str
impl TotalCharProperty for BidiClass
[src]
impl EnumeratedCharProperty for BidiClass
fn all_values() -> &'static [BidiClass]
fn abbr_name(&self) -> &'static str
fn long_name(&self) -> &'static str
fn human_name(&self) -> &'static str
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> PartialCharProperty for T where
T: TotalCharProperty,
[src]
T: TotalCharProperty,