[][src]Struct ucd_parse::NameAlias

pub struct NameAlias {
    pub codepoint: Codepoint,
    pub alias: String,
    pub label: NameAliasLabel,
}

A single row in the NameAliases.txt file.

Note that there are multiple rows for some codepoint. Each row provides a new alias.

Fields

codepoint: Codepoint

The codepoint corresponding to this row.

alias: String

The alias.

label: NameAliasLabel

The label of this alias.

Trait Implementations

impl UcdFile for NameAlias
[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 NameAlias
[src]

impl Eq for NameAlias
[src]

impl Default for NameAlias
[src]

impl PartialEq<NameAlias> for NameAlias
[src]

impl Clone for NameAlias
[src]

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

Performs copy-assignment from source. Read more

impl Debug for NameAlias
[src]

impl FromStr for NameAlias
[src]

type Err = Error

The associated error which can be returned from parsing.

Auto Trait Implementations

impl Send for NameAlias

impl Sync for NameAlias

Blanket Implementations

impl<T> From for T
[src]

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, 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> BorrowMut for T where
    T: ?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> Any for T where
    T: 'static + ?Sized
[src]