pub enum DictionaryKind {
IPADIC,
IPADICNEologd,
UniDic,
KoDic,
CcCedict,
}
Variants§
Implementations§
source§impl DictionaryKind
impl DictionaryKind
pub fn variants() -> Vec<DictionaryKind>
pub fn contained_variants() -> Vec<DictionaryKind>
pub fn as_str(&self) -> &str
Trait Implementations§
source§impl Clone for DictionaryKind
impl Clone for DictionaryKind
source§fn clone(&self) -> DictionaryKind
fn clone(&self) -> DictionaryKind
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 DictionaryKind
impl Debug for DictionaryKind
source§impl<'de> Deserialize<'de> for DictionaryKind
impl<'de> Deserialize<'de> for DictionaryKind
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 FromStr for DictionaryKind
impl FromStr for DictionaryKind
source§impl IntoEnumIterator for DictionaryKind
impl IntoEnumIterator for DictionaryKind
type Iterator = DictionaryKindIter
fn iter() -> DictionaryKindIter ⓘ
source§impl PartialEq for DictionaryKind
impl PartialEq for DictionaryKind
source§fn eq(&self, other: &DictionaryKind) -> bool
fn eq(&self, other: &DictionaryKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DictionaryKind
impl Serialize for DictionaryKind
impl Eq for DictionaryKind
impl StructuralPartialEq for DictionaryKind
Auto Trait Implementations§
impl Freeze for DictionaryKind
impl RefUnwindSafe for DictionaryKind
impl Send for DictionaryKind
impl Sync for DictionaryKind
impl Unpin for DictionaryKind
impl UnwindSafe for DictionaryKind
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