Struct ucd_parse::Script
[−]
[src]
pub struct Script {
pub codepoints: Codepoints,
pub script: String,
}A single row in the Scripts.txt file.
Fields
codepoints: Codepoints
The codepoint or codepoint range for this entry.
script: String
The script name assigned to the codepoints in this entry.
Trait Implementations
impl Clone for Script[src]
fn clone(&self) -> Script[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 Script[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Default for Script[src]
impl Eq for Script[src]
impl PartialEq for Script[src]
fn eq(&self, __arg_0: &Script) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Script) -> bool[src]
This method tests for !=.
impl UcdFile for Script[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 Script[src]
ⓘImportant traits for CodepointIterfn codepoints(&self) -> CodepointIter[src]
ⓘImportant traits for CodepointIter
Returns the codepoints associated with this record.