Struct ucd_parse::EastAsianWidth
source · pub struct EastAsianWidth {
pub codepoints: Codepoints,
pub width: String,
}
Expand description
A single row in the EastAsianWidth.txt
file, describing the value of the
East_Asian_Width
property.
Note: All code points, assigned or unassigned, that are not listed in EastAsianWidth.txt file are given the value “N”.
Fields§
§codepoints: Codepoints
The codepoint or codepoint range for this entry.
width: String
One of “A”, “F”, “H”, “N”, “Na”, “W”.
Trait Implementations§
source§impl Clone for EastAsianWidth
impl Clone for EastAsianWidth
source§fn clone(&self) -> EastAsianWidth
fn clone(&self) -> EastAsianWidth
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 EastAsianWidth
impl Debug for EastAsianWidth
source§impl Default for EastAsianWidth
impl Default for EastAsianWidth
source§fn default() -> EastAsianWidth
fn default() -> EastAsianWidth
Returns the “default value” for a type. Read more
source§impl FromStr for EastAsianWidth
impl FromStr for EastAsianWidth
source§impl PartialEq for EastAsianWidth
impl PartialEq for EastAsianWidth
source§fn eq(&self, other: &EastAsianWidth) -> bool
fn eq(&self, other: &EastAsianWidth) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl UcdFile for EastAsianWidth
impl UcdFile for EastAsianWidth
source§impl UcdFileByCodepoint for EastAsianWidth
impl UcdFileByCodepoint for EastAsianWidth
source§fn codepoints(&self) -> CodepointIter ⓘ
fn codepoints(&self) -> CodepointIter ⓘ
Returns the codepoints associated with this record.
impl Eq for EastAsianWidth
impl StructuralEq for EastAsianWidth
impl StructuralPartialEq for EastAsianWidth
Auto Trait Implementations§
impl RefUnwindSafe for EastAsianWidth
impl Send for EastAsianWidth
impl Sync for EastAsianWidth
impl Unpin for EastAsianWidth
impl UnwindSafe for EastAsianWidth
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