[]Struct unic_ucd_bidi::bidi_control::BidiControl

pub struct BidiControl(_);

Represents values of the Unicode character property Bidi_Control.

The value is true if the character is a Bidirectional control character, false otherwise.

Methods

impl BidiControl

pub fn of(ch: char) -> Self

Get (struct) property value of the character.

pub fn as_bool(&self) -> bool

Get boolean property value of the character.

Trait Implementations

impl Display for BidiControl

impl Debug for BidiControl

impl PartialEq<BidiControl> for BidiControl

impl Eq for BidiControl

impl From<BidiControl> for bool

impl Hash for BidiControl

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Copy for BidiControl

impl FromStr for BidiControl

type Err = ()

The associated error which can be returned from parsing.

impl Clone for BidiControl

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for BidiControl

impl CharProperty for BidiControl

impl TotalCharProperty for BidiControl

impl BinaryCharProperty for BidiControl

fn abbr_name(&self) -> &'static str[src]

The abbreviated name of the property value.

fn long_name(&self) -> &'static str[src]

The long name of the property value.

fn human_name(&self) -> &'static str[src]

The human-readable name of the property value.

Auto Trait Implementations

impl Send for BidiControl

impl Sync for BidiControl

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> PartialCharProperty for T where
    T: TotalCharProperty
[src]