pub enum PinyinReadingSegmentSource {
Dictionary,
Direct,
}Expand description
Source of one Chinese pinyin reading-path segment.
Variants§
Dictionary
Segment was backed by a dictionary entry.
Direct
Segment was copied from direct pinyin/punctuation fallback.
Trait Implementations§
Source§impl Clone for PinyinReadingSegmentSource
impl Clone for PinyinReadingSegmentSource
Source§fn clone(&self) -> PinyinReadingSegmentSource
fn clone(&self) -> PinyinReadingSegmentSource
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 moreimpl Copy for PinyinReadingSegmentSource
Source§impl Debug for PinyinReadingSegmentSource
impl Debug for PinyinReadingSegmentSource
impl Eq for PinyinReadingSegmentSource
Source§impl PartialEq for PinyinReadingSegmentSource
impl PartialEq for PinyinReadingSegmentSource
Source§fn eq(&self, other: &PinyinReadingSegmentSource) -> bool
fn eq(&self, other: &PinyinReadingSegmentSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PinyinReadingSegmentSource
Auto Trait Implementations§
impl Freeze for PinyinReadingSegmentSource
impl RefUnwindSafe for PinyinReadingSegmentSource
impl Send for PinyinReadingSegmentSource
impl Sync for PinyinReadingSegmentSource
impl Unpin for PinyinReadingSegmentSource
impl UnsafeUnpin for PinyinReadingSegmentSource
impl UnwindSafe for PinyinReadingSegmentSource
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.