unic_ucd

Trait StrBidiClass

Source
pub trait StrBidiClass {
    // Required methods
    fn has_bidi_explicit(&self) -> bool;
    fn has_ltr(&self) -> bool;
    fn has_rtl(&self) -> bool;
}
Expand description

Methods for Bidi_Class character properties of string types.

Required Methods§

Source

fn has_bidi_explicit(&self) -> bool

Whether the string has any explicit bidi formatting character.

Source

fn has_ltr(&self) -> bool

Whether the string has any character with left-to-right (LTR) bidi directionality.

Source

fn has_rtl(&self) -> bool

Whether the string has any character with right-to-left (RTL) bidi directionality.

Implementations on Foreign Types§

Source§

impl StrBidiClass for str

Implementors§