#[repr(u8)]pub enum EngineKind {
Pinyin = 0,
Wubi = 1,
NihongoJukugo = 2,
NihongoKanji = 3,
Other = 4,
}Expand description
Which engine the dict serves. Stable u8 across versions so dispatch code can match without translation.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for EngineKind
impl Clone for EngineKind
Source§fn clone(&self) -> EngineKind
fn clone(&self) -> EngineKind
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 EngineKind
impl Debug for EngineKind
Source§impl PartialEq for EngineKind
impl PartialEq for EngineKind
Source§fn eq(&self, other: &EngineKind) -> bool
fn eq(&self, other: &EngineKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EngineKind
impl Eq for EngineKind
impl StructuralPartialEq for EngineKind
Auto Trait Implementations§
impl Freeze for EngineKind
impl RefUnwindSafe for EngineKind
impl Send for EngineKind
impl Sync for EngineKind
impl Unpin for EngineKind
impl UnsafeUnpin for EngineKind
impl UnwindSafe for EngineKind
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