unic_ucd

Trait CharBidiClass

Source
pub trait CharBidiClass {
    // Required methods
    fn bidi_class(self) -> BidiClass;
    fn is_ltr(self) -> bool;
    fn is_rtl(self) -> bool;
}
Expand description

Methods for Bidi_Class character property.

Required Methods§

Source

fn bidi_class(self) -> BidiClass

Get BidiClass of the character.

Source

fn is_ltr(self) -> bool

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

Source

fn is_rtl(self) -> bool

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

Implementations on Foreign Types§

Source§

impl CharBidiClass for char

Implementors§