Struct ucd_parse::Property
[−]
[src]
pub struct Property {
pub codepoints: Codepoints,
pub property: String,
}A single row in the PropList.txt file.
The PropList.txt file is the source of truth on several Unicode
properties.
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 Clone for Property[src]
fn clone(&self) -> Property[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 Property[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Default for Property[src]
impl Eq for Property[src]
impl PartialEq for Property[src]
fn eq(&self, __arg_0: &Property) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Property) -> bool[src]
This method tests for !=.
impl UcdFile for Property[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 Property[src]
ⓘImportant traits for CodepointIterfn codepoints(&self) -> CodepointIter[src]
Returns the codepoints associated with this record.