[][src]Enum ucd_parse::CaseStatus

pub enum CaseStatus {
    Common,
    Full,
    Simple,
    Special,
}

The status of a particular case mapping.

Variants

Common

Case mappings shared by both "simple" and "full" mappings.

Full

A case mapping that changes the number of codepoints.

Simple

A case mapping that doesn't change the number of codepoints, when it differs from Full.

Special

Special cases (currently only for Turkic mappings) that are typically excluded by default. Special cases don't change the number of codepoints, but may changed the encoding (e.g., UTF-8) length in bytes.

Methods

impl CaseStatus[src]

pub fn is_fixed(&self) -> bool[src]

Returns true if and only if this status indicates a case mapping that won't change the number of codepoints.

Trait Implementations

impl Clone for CaseStatus[src]

impl Copy for CaseStatus[src]

impl Debug for CaseStatus[src]

impl Default for CaseStatus[src]

impl Eq for CaseStatus[src]

impl FromStr for CaseStatus[src]

type Err = Error

The associated error which can be returned from parsing.

impl PartialEq<CaseStatus> for CaseStatus[src]

impl StructuralEq for CaseStatus[src]

impl StructuralPartialEq for CaseStatus[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.