pub enum DictSource {
Ecdict,
Anki {
deck_name: String,
},
Sqlite {
name: String,
table: String,
},
Mdx {
filename: String,
},
Custom {
name: String,
},
}Variants§
Implementations§
Source§impl DictSource
impl DictSource
Trait Implementations§
Source§impl Clone for DictSource
impl Clone for DictSource
Source§fn clone(&self) -> DictSource
fn clone(&self) -> DictSource
Returns a duplicate 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 DictSource
impl Debug for DictSource
Source§impl<'de> Deserialize<'de> for DictSource
impl<'de> Deserialize<'de> for DictSource
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 DictSource
impl Hash for DictSource
Source§impl PartialEq for DictSource
impl PartialEq for DictSource
Source§impl Serialize for DictSource
impl Serialize for DictSource
impl Eq for DictSource
impl StructuralPartialEq for DictSource
Auto Trait Implementations§
impl Freeze for DictSource
impl RefUnwindSafe for DictSource
impl Send for DictSource
impl Sync for DictSource
impl Unpin for DictSource
impl UnsafeUnpin for DictSource
impl UnwindSafe for DictSource
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