Enum chinese_number::ChineseVariant
source · #[repr(u8)]pub enum ChineseVariant {
Traditional = 0,
Simple = 1,
}
Expand description
The different writing systems used for the Chinese language. Traditional Chinese (繁體中文) or Simple Chinese (简体中文).
Variants§
Implementations§
Trait Implementations§
source§impl Clone for ChineseVariant
impl Clone for ChineseVariant
source§fn clone(&self) -> ChineseVariant
fn clone(&self) -> ChineseVariant
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 ChineseVariant
impl Debug for ChineseVariant
source§impl Hash for ChineseVariant
impl Hash for ChineseVariant
source§impl PartialEq for ChineseVariant
impl PartialEq for ChineseVariant
source§fn eq(&self, other: &ChineseVariant) -> bool
fn eq(&self, other: &ChineseVariant) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ChineseVariant
impl Eq for ChineseVariant
impl StructuralEq for ChineseVariant
impl StructuralPartialEq for ChineseVariant
Auto Trait Implementations§
impl RefUnwindSafe for ChineseVariant
impl Send for ChineseVariant
impl Sync for ChineseVariant
impl Unpin for ChineseVariant
impl UnwindSafe for ChineseVariant
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