Struct ucd_parse::CaseFold [] [src]

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

The codepoint that is being mapped.

The case status of this mapping.

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

Trait Implementations

impl Clone for CaseFold
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CaseFold
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for CaseFold
[src]

[src]

Returns the "default value" for a type. Read more

impl Eq for CaseFold
[src]

impl PartialEq for CaseFold
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl UcdFile for CaseFold
[src]

[src]

The file path corresponding to this file, relative to the UCD directory. Read more

[src]

The full file path corresponding to this file given the UCD directory path. Read more

[src]

Create an iterator over each record in this UCD file. Read more

impl UcdFileByCodepoint for CaseFold
[src]

Important traits for CodepointIter
[src]

Returns the codepoints associated with this record.

impl FromStr for CaseFold
[src]

The associated error which can be returned from parsing.

[src]

Parses a string s to return a value of this type. Read more

Auto Trait Implementations

impl Send for CaseFold

impl Sync for CaseFold