pub struct Script {
pub codepoints: Codepoints,
pub script: String,
}Expand description
A single row in the Scripts.txt file.
Fields§
§codepoints: CodepointsThe codepoint or codepoint range for this entry.
script: StringThe script name assigned to the codepoints in this entry.
Trait Implementations§
impl Eq for Script
impl StructuralPartialEq for Script
Source§impl UcdFile for Script
impl UcdFile for Script
Source§impl UcdFileByCodepoint for Script
impl UcdFileByCodepoint for Script
Source§fn codepoints(&self) -> CodepointIter ⓘ
fn codepoints(&self) -> CodepointIter ⓘ
Returns the codepoints associated with this record.
Auto Trait Implementations§
impl Freeze for Script
impl RefUnwindSafe for Script
impl Send for Script
impl Sync for Script
impl Unpin for Script
impl UnsafeUnpin for Script
impl UnwindSafe for Script
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