Struct ucd_parse::SpecialCaseMapping [] [src]

pub struct SpecialCaseMapping {
    pub codepoint: Codepoint,
    pub lowercase: Vec<Codepoint>,
    pub titlecase: Vec<Codepoint>,
    pub uppercase: Vec<Codepoint>,
    pub conditions: Vec<String>,
}

A single row in the SpecialCasing.txt file.

Note that a single codepoint may be mapped multiple times. In particular, a single codepoint might have mappings based on distinct language sensitive conditions (e.g., U+0307).

Fields

The codepoint that is being mapped.

The lowercase mapping, which may be empty.

The titlecase mapping, which may be empty.

The uppercase mapping, which may be empty.

A list of language specific conditions, see SpecialCasing.txt for more details.

Trait Implementations

impl Clone for SpecialCaseMapping
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SpecialCaseMapping
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for SpecialCaseMapping
[src]

[src]

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

impl Eq for SpecialCaseMapping
[src]

impl PartialEq for SpecialCaseMapping
[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 SpecialCaseMapping
[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 SpecialCaseMapping
[src]

Important traits for CodepointIter
[src]

Returns the codepoints associated with this record.

impl FromStr for SpecialCaseMapping
[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