pub enum DecoderMode {
Plain,
Kv,
}Expand description
decoder: plain | kv — kv iff decoder-kv.onnx is present.
Variants§
Trait Implementations§
Source§impl Clone for DecoderMode
impl Clone for DecoderMode
impl Copy for DecoderMode
Source§impl Debug for DecoderMode
impl Debug for DecoderMode
impl Eq for DecoderMode
Source§impl PartialEq for DecoderMode
impl PartialEq for DecoderMode
impl StructuralPartialEq for DecoderMode
Auto Trait Implementations§
impl Forget for DecoderMode
impl Freeze for DecoderMode
impl RefUnwindSafe for DecoderMode
impl Send for DecoderMode
impl Sync for DecoderMode
impl Unpin for DecoderMode
impl UnsafeUnpin for DecoderMode
impl UnwindSafe for DecoderMode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.