#[repr(i32)]pub enum KVCacheMode {
kLINEAR = 0,
}Expand description
! ! \enum KVCacheMode ! ! \brief 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 Debug for KVCacheMode
impl Debug 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 Ord for KVCacheMode
impl Ord for KVCacheMode
Source§fn cmp(&self, other: &KVCacheMode) -> Ordering
fn cmp(&self, other: &KVCacheMode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
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 ==.Source§impl PartialOrd for KVCacheMode
impl PartialOrd for KVCacheMode
impl Copy for KVCacheMode
impl Eq for KVCacheMode
impl StructuralPartialEq 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