pub struct Kanji(_);
Expand description
A single symbol of Kanji, also known as a CJK Unified Ideograph.
Japanese Kanji were borrowed from China over several waves during the last 1,500 years. Japan declares 2,136 of these as their standard set, with rarer characters being the domain of place names, academia and writers.
Japanese has many Japan-only Kanji. Common ones include:
- 畑 (a type of rice field)
- 峠 (a narrow mountain pass)
- 働 (to do physical labour)
Implementations
Trait Implementations
sourceimpl Ord for Kanji
impl Ord for Kanji
sourceimpl PartialOrd<Kanji> for Kanji
impl PartialOrd<Kanji> for Kanji
sourcefn partial_cmp(&self, other: &Kanji) -> Option<Ordering>
fn partial_cmp(&self, other: &Kanji) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for Kanji
impl Eq for Kanji
impl StructuralEq for Kanji
impl StructuralPartialEq for Kanji
Auto Trait Implementations
impl RefUnwindSafe for Kanji
impl Send for Kanji
impl Sync for Kanji
impl Unpin for Kanji
impl UnwindSafe for Kanji
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more