[][src]Struct 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 UcdFile for SpecialCaseMapping
[src]

fn file_path<P: AsRef<Path>>(ucd_dir: P) -> PathBuf
[src]

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

fn from_dir<P: AsRef<Path>>(
    ucd_dir: P
) -> Result<UcdLineParser<File, Self>, Error>
[src]

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

impl UcdFileByCodepoint for SpecialCaseMapping
[src]

impl PartialEq<SpecialCaseMapping> for SpecialCaseMapping
[src]

impl Eq for SpecialCaseMapping
[src]

impl Clone for SpecialCaseMapping
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for SpecialCaseMapping
[src]

impl Debug for SpecialCaseMapping
[src]

impl FromStr for SpecialCaseMapping
[src]

type Err = Error

The associated error which can be returned from parsing.

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

impl<T> From for T
[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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