Struct yeslogic_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
sourceimpl Clone for EastAsianWidth
impl Clone for EastAsianWidth
sourcefn clone(&self) -> EastAsianWidth
fn clone(&self) -> EastAsianWidth
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for EastAsianWidth
impl Debug for EastAsianWidth
sourceimpl Default for EastAsianWidth
impl Default for EastAsianWidth
sourcefn default() -> EastAsianWidth
fn default() -> EastAsianWidth
Returns the “default value” for a type. Read more
sourceimpl FromStr for EastAsianWidth
impl FromStr for EastAsianWidth
sourceimpl PartialEq<EastAsianWidth> for EastAsianWidth
impl PartialEq<EastAsianWidth> for EastAsianWidth
sourcefn eq(&self, other: &EastAsianWidth) -> bool
fn eq(&self, other: &EastAsianWidth) -> bool
sourceimpl UcdFile for EastAsianWidth
impl UcdFile for EastAsianWidth
sourceimpl UcdFileByCodepoint for EastAsianWidth
impl UcdFileByCodepoint for EastAsianWidth
sourcefn codepoints(&self) -> CodepointIterⓘNotable traits for CodepointIterimpl Iterator for CodepointIter type Item = Codepoint;
fn codepoints(&self) -> CodepointIterⓘNotable traits for CodepointIterimpl Iterator for CodepointIter type Item = Codepoint;
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more