[][src]Struct yeslogic_ucd_parse::SpecialCaseMapping

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

codepoint: Codepoint

The codepoint that is being mapped.

lowercase: Vec<Codepoint>

The lowercase mapping, which may be empty.

titlecase: Vec<Codepoint>

The titlecase mapping, which may be empty.

uppercase: Vec<Codepoint>

The uppercase mapping, which may be empty.

conditions: Vec<String>

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

Trait Implementations

impl Clone for SpecialCaseMapping[src]

impl Debug for SpecialCaseMapping[src]

impl Default for SpecialCaseMapping[src]

impl Eq for SpecialCaseMapping[src]

impl FromStr for SpecialCaseMapping[src]

type Err = Error

The associated error which can be returned from parsing.

impl PartialEq<SpecialCaseMapping> for SpecialCaseMapping[src]

impl StructuralEq for SpecialCaseMapping[src]

impl StructuralPartialEq for SpecialCaseMapping[src]

impl UcdFile for SpecialCaseMapping[src]

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