Struct ucd_parse::ScriptExtension
source · pub struct ScriptExtension {
pub codepoints: Codepoints,
pub scripts: Vec<String>,
}
Expand description
A single row in the ScriptExtensions.txt
file.
Fields§
§codepoints: Codepoints
The codepoint or codepoint range for this entry.
scripts: Vec<String>
The script extension names assigned to the codepoints in this entry.
Trait Implementations§
source§impl Clone for ScriptExtension
impl Clone for ScriptExtension
source§fn clone(&self) -> ScriptExtension
fn clone(&self) -> ScriptExtension
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 ScriptExtension
impl Debug for ScriptExtension
source§impl Default for ScriptExtension
impl Default for ScriptExtension
source§fn default() -> ScriptExtension
fn default() -> ScriptExtension
Returns the “default value” for a type. Read more
source§impl FromStr for ScriptExtension
impl FromStr for ScriptExtension
source§impl PartialEq for ScriptExtension
impl PartialEq for ScriptExtension
source§fn eq(&self, other: &ScriptExtension) -> bool
fn eq(&self, other: &ScriptExtension) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl UcdFile for ScriptExtension
impl UcdFile for ScriptExtension
source§impl UcdFileByCodepoint for ScriptExtension
impl UcdFileByCodepoint for ScriptExtension
source§fn codepoints(&self) -> CodepointIter ⓘ
fn codepoints(&self) -> CodepointIter ⓘ
Returns the codepoints associated with this record.
impl Eq for ScriptExtension
impl StructuralEq for ScriptExtension
impl StructuralPartialEq for ScriptExtension
Auto Trait Implementations§
impl RefUnwindSafe for ScriptExtension
impl Send for ScriptExtension
impl Sync for ScriptExtension
impl Unpin for ScriptExtension
impl UnwindSafe for ScriptExtension
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