#[repr(i32)]pub enum KVCacheMode {
kLINEAR = 0,
}Expand description
KVCacheMode
Enumerates the KVCache modes that may be performed by a KVCacheUpdate layer.
Variants§
kLINEAR = 0
< Linear mode.
Trait Implementations§
Source§impl Clone for KVCacheMode
impl Clone for KVCacheMode
Source§fn clone(&self) -> KVCacheMode
fn clone(&self) -> KVCacheMode
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 ExternType for KVCacheMode
impl ExternType for KVCacheMode
Source§impl From<KVCacheMode> for KVCacheMode
impl From<KVCacheMode> for KVCacheMode
Source§fn from(value: KVCacheMode) -> Self
fn from(value: KVCacheMode) -> Self
Converts to this type from the input type.
Source§impl Hash for KVCacheMode
impl Hash for KVCacheMode
Source§impl Into<KVCacheMode> for KVCacheMode
impl Into<KVCacheMode> for KVCacheMode
Source§fn into(self) -> KVCacheMode
fn into(self) -> KVCacheMode
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for KVCacheMode
impl PartialEq for KVCacheMode
Source§fn eq(&self, other: &KVCacheMode) -> bool
fn eq(&self, other: &KVCacheMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for KVCacheMode
impl StructuralPartialEq for KVCacheMode
impl UniquePtrTarget for KVCacheMode
impl VectorElement for KVCacheMode
impl WeakPtrTarget for KVCacheMode
Auto Trait Implementations§
impl Freeze for KVCacheMode
impl RefUnwindSafe for KVCacheMode
impl Send for KVCacheMode
impl Sync for KVCacheMode
impl Unpin for KVCacheMode
impl UnsafeUnpin for KVCacheMode
impl UnwindSafe for KVCacheMode
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