pub enum Name {
NR1(char),
NR2(&'static str, char),
NR3(&'static [&'static str]),
}
Expand description
Variants§
NR1(char)
NR1: For Hangul syllables, the Name is derived by rule, as specified in Section 3.12 in Unicode by concatenating a fixed prefix string “HANGUL SYLLABLE” and appropriate values of the Jamo_Short_Name property.
NR2(&'static str, char)
NR2: For most ideographs, the Name is derived by concatenating a script-specific prefix string, as specified in Unicode, to the code point, expressed in hexadecimal, with the usual 4- to 6-digit convention.
NR3(&'static [&'static str])
NR3: For all other Graphic characters and for all Format characters, the Name is as explicitly listed in Field 1 of UnicodeData.txt.
Implementations§
Trait Implementations§
Source§impl Ord for Name
impl Ord for Name
Source§impl PartialOrd for Name
impl PartialOrd for Name
impl Copy for Name
impl Eq for Name
impl StructuralPartialEq for Name
Auto Trait Implementations§
impl Freeze for Name
impl RefUnwindSafe for Name
impl Send for Name
impl Sync for Name
impl Unpin for Name
impl UnwindSafe for Name
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)