[]Enum unic_ucd_normal::DecompositionType

pub enum DecompositionType {
    Canonical,
    Compat,
    Circle,
    Final,
    Font,
    Fraction,
    Initial,
    Isolated,
    Medial,
    Narrow,
    NoBreak,
    Small,
    Square,
    Sub,
    Super,
    Vertical,
    Wide,
}

Variants

CanonicalCompat

Otherwise unspecified compatibility character

Circle

Encircled form

Final

Final presentation form (Arabic)

Font

Font variant (for example, a blackletter form)

Fraction

Vulgar fraction form

Initial

Initial presentation form (Arabic)

Isolated

Isolated presentation form (Arabic)

Medial

Medial presentation form (Arabic)

Narrow

Narrow (or hankaku) compatibility character

NoBreak

No-break version of a space or hyphen

Small

Small variant form (CNS compatibility)

Square

CJK squared font variant

Sub

Subscript form

Super

Superscript form

Vertical

Vertical layout presentation form

Wide

Wide (or zenkaku) compatibility character

Methods

impl DecompositionType[src]

pub fn of(ch: char) -> Option<DecompositionType>[src]

Find the DecompositionType of the character.

Trait Implementations

impl Display for DecompositionType

impl Debug for DecompositionType

impl PartialEq<DecompositionType> for DecompositionType

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Eq for DecompositionType

impl Hash for DecompositionType

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 DecompositionType

impl FromStr for DecompositionType

type Err = ()

The associated error which can be returned from parsing.

impl Clone for DecompositionType

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

Performs copy-assignment from source. Read more

impl CharProperty for DecompositionType

impl PartialCharProperty for DecompositionType[src]

impl EnumeratedCharProperty for DecompositionType

Auto Trait Implementations

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]