[][src]Struct ucd_parse::EmojiProperty

pub struct EmojiProperty {
    pub codepoints: Codepoints,
    pub property: String,
}

A single row in the emoji-data.txt file.

The emoji-data.txt file is the source of truth on several Emoji-related Unicode properties.

Note that emoji-data.txt is not formally part of the Unicode Character Database. You can download the Emoji data files separately here: https://unicode.org/Public/emoji/

Fields

codepoints: Codepoints

The codepoint or codepoint range for this entry.

property: String

The property name assigned to the codepoints in this entry.

Trait Implementations

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

impl Eq for EmojiProperty
[src]

impl Clone for EmojiProperty
[src]

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

Performs copy-assignment from source. Read more

impl PartialEq<EmojiProperty> for EmojiProperty
[src]

impl Default for EmojiProperty
[src]

impl Debug for EmojiProperty
[src]

impl FromStr for EmojiProperty
[src]

type Err = Error

The associated error which can be returned from parsing.

Auto Trait Implementations

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> Any for T where
    T: 'static + ?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.