Struct ucd_parse::PropertyValueAlias
[−]
[src]
pub struct PropertyValueAlias {
pub property: String,
pub numeric: Option<u8>,
pub abbreviation: String,
pub long: String,
pub aliases: Vec<String>,
}A single row in the PropertyValueAliases.txt file.
Fields
property: String
The property name for which this value alias applies.
numeric: Option<u8>
A numeric abbreviation for this property value, if present. (This is
seemingly only present for the ccc/Canonical_Combining_Class
property.)
abbreviation: String
An abbreviation for this property value.
long: String
The "long" form of this property value.
aliases: Vec<String>
Additional value aliases (if present).
Trait Implementations
impl Clone for PropertyValueAlias[src]
fn clone(&self) -> PropertyValueAlias[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 PropertyValueAlias[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Default for PropertyValueAlias[src]
fn default() -> PropertyValueAlias[src]
Returns the "default value" for a type. Read more
impl Eq for PropertyValueAlias[src]
impl PartialEq for PropertyValueAlias[src]
fn eq(&self, __arg_0: &PropertyValueAlias) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &PropertyValueAlias) -> bool[src]
This method tests for !=.
impl UcdFile for PropertyValueAlias[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