pub enum PinyinView {
NoTone,
Tone3,
}Expand description
Pinyin representation used by a Chinese reading index.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PinyinView
impl Clone for PinyinView
Source§fn clone(&self) -> PinyinView
fn clone(&self) -> PinyinView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PinyinView
impl Debug for PinyinView
Source§impl Default for PinyinView
impl Default for PinyinView
Source§fn default() -> PinyinView
fn default() -> PinyinView
Returns the “default value” for a type. Read more
Source§impl PartialEq for PinyinView
impl PartialEq for PinyinView
Source§fn eq(&self, other: &PinyinView) -> bool
fn eq(&self, other: &PinyinView) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<&str> for PinyinView
impl TryFrom<&str> for PinyinView
impl Copy for PinyinView
impl Eq for PinyinView
impl StructuralPartialEq for PinyinView
Auto Trait Implementations§
impl Freeze for PinyinView
impl RefUnwindSafe for PinyinView
impl Send for PinyinView
impl Sync for PinyinView
impl Unpin for PinyinView
impl UnsafeUnpin for PinyinView
impl UnwindSafe for PinyinView
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.