Struct ucd_parse::NameAlias
[−]
[src]
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 Clone for NameAlias
[src]
fn clone(&self) -> NameAlias
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for NameAlias
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Default for NameAlias
[src]
impl Eq for NameAlias
[src]
impl PartialEq for NameAlias
[src]
fn eq(&self, __arg_0: &NameAlias) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NameAlias) -> bool
[src]
This method tests for !=
.
impl UcdFile for NameAlias
[src]
fn relative_file_path() -> &'static Path
[src]
The file path corresponding to this file, relative to the UCD directory. Read more
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]
ucd_dir: P
) -> Result<UcdLineParser<File, Self>, Error>
Create an iterator over each record in this UCD file. Read more
impl UcdFileByCodepoint for NameAlias
[src]
ⓘImportant traits for CodepointIterfn codepoints(&self) -> CodepointIter
[src]
ⓘImportant traits for CodepointIter
Returns the codepoints associated with this record.