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§
source§impl Clone for EmojiProperty
impl Clone for EmojiProperty
source§fn clone(&self) -> EmojiProperty
fn clone(&self) -> EmojiProperty
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EmojiProperty
impl Debug for EmojiProperty
source§impl Default for EmojiProperty
impl Default for EmojiProperty
source§fn default() -> EmojiProperty
fn default() -> EmojiProperty
Returns the “default value” for a type. Read more
source§impl FromStr for EmojiProperty
impl FromStr for EmojiProperty
source§impl PartialEq for EmojiProperty
impl PartialEq for EmojiProperty
source§fn 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 ==
.source§impl UcdFile for EmojiProperty
impl UcdFile for EmojiProperty
source§impl UcdFileByCodepoint for EmojiProperty
impl UcdFileByCodepoint for EmojiProperty
source§fn codepoints(&self) -> CodepointIter ⓘ
fn codepoints(&self) -> CodepointIter ⓘ
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more