[][src]Struct yeslogic_ucd_parse::CaseFold

pub struct CaseFold {
    pub codepoint: Codepoint,
    pub status: CaseStatus,
    pub mapping: Vec<Codepoint>,
}

A single row in the CaseFolding.txt file.

The contents of CaseFolding.txt are a convenience derived from both UnicodeData.txt and SpecialCasing.txt.

Note that a single codepoint may be mapped multiple times. In particular, a single codepoint might have distinct CaseStatus::Simple and CaseStatus::Full mappings.

Fields

codepoint: Codepoint

The codepoint that is being mapped.

status: CaseStatus

The case status of this mapping.

mapping: Vec<Codepoint>

The actual case mapping, which is more than one codepoint if this is a "full" mapping.

Trait Implementations

impl Clone for CaseFold[src]

impl Debug for CaseFold[src]

impl Default for CaseFold[src]

impl Eq for CaseFold[src]

impl FromStr for CaseFold[src]

type Err = Error

The associated error which can be returned from parsing.

impl PartialEq<CaseFold> for CaseFold[src]

impl StructuralEq for CaseFold[src]

impl StructuralPartialEq for CaseFold[src]

impl UcdFile for CaseFold[src]

impl UcdFileByCodepoint for CaseFold[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.