Enum kanjidic_types::radical::RadicalKind
source · pub enum RadicalKind {
Classical,
Nelson,
}
Expand description
The kind of kanji classification
Variants§
Classical
Based on the KangXi Zidian system. Referenced from the Shibano JIS Kanwa Jiten.
Nelson
As used in the classic Modern Japanese-English Character Dictionary.
Trait Implementations§
source§impl Clone for RadicalKind
impl Clone for RadicalKind
source§fn clone(&self) -> RadicalKind
fn clone(&self) -> RadicalKind
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 RadicalKind
impl Debug for RadicalKind
source§impl<'de> Deserialize<'de> for RadicalKind
impl<'de> Deserialize<'de> for RadicalKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for RadicalKind
impl Hash for RadicalKind
source§impl Ord for RadicalKind
impl Ord for RadicalKind
source§fn cmp(&self, other: &RadicalKind) -> Ordering
fn cmp(&self, other: &RadicalKind) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for RadicalKind
impl PartialEq for RadicalKind
source§fn eq(&self, other: &RadicalKind) -> bool
fn eq(&self, other: &RadicalKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RadicalKind
impl PartialOrd for RadicalKind
source§fn partial_cmp(&self, other: &RadicalKind) -> Option<Ordering>
fn partial_cmp(&self, other: &RadicalKind) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl Serialize for RadicalKind
impl Serialize for RadicalKind
impl Copy for RadicalKind
impl Eq for RadicalKind
impl StructuralEq for RadicalKind
impl StructuralPartialEq for RadicalKind
Auto Trait Implementations§
impl RefUnwindSafe for RadicalKind
impl Send for RadicalKind
impl Sync for RadicalKind
impl Unpin for RadicalKind
impl UnwindSafe for RadicalKind
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