Struct ucd_parse::EmojiProperty
source · [−]pub struct EmojiProperty {
pub codepoints: Codepoints,
pub property: String,
}
Expand description
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
sourceimpl Clone for EmojiProperty
impl Clone for EmojiProperty
sourcefn clone(&self) -> EmojiProperty
fn clone(&self) -> EmojiProperty
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EmojiProperty
impl Debug for EmojiProperty
sourceimpl Default for EmojiProperty
impl Default for EmojiProperty
sourcefn default() -> EmojiProperty
fn default() -> EmojiProperty
Returns the “default value” for a type. Read more
sourceimpl FromStr for EmojiProperty
impl FromStr for EmojiProperty
sourceimpl PartialEq<EmojiProperty> for EmojiProperty
impl PartialEq<EmojiProperty> for EmojiProperty
sourcefn eq(&self, other: &EmojiProperty) -> bool
fn eq(&self, other: &EmojiProperty) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl UcdFile for EmojiProperty
impl UcdFile for EmojiProperty
sourceimpl UcdFileByCodepoint for EmojiProperty
impl UcdFileByCodepoint for EmojiProperty
sourcefn codepoints(&self) -> CodepointIterⓘNotable traits for CodepointIterimpl Iterator for CodepointIter type Item = Codepoint;
fn codepoints(&self) -> CodepointIterⓘNotable traits for CodepointIterimpl Iterator for CodepointIter type Item = Codepoint;
Returns the codepoints associated with this record.
impl Eq for EmojiProperty
impl StructuralEq for EmojiProperty
impl StructuralPartialEq for EmojiProperty
Auto Trait Implementations
impl RefUnwindSafe for EmojiProperty
impl Send for EmojiProperty
impl Sync for EmojiProperty
impl Unpin for EmojiProperty
impl UnwindSafe for EmojiProperty
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more