pub struct KvScaleKeys {
pub spelling: KvScaleSpelling,
pub k: String,
pub v: String,
}Expand description
2026-09-28: The two store keys one attention layer’s scales are read from.
Fields§
§spelling: KvScaleSpelling§k: String§v: StringTrait Implementations§
Source§impl Clone for KvScaleKeys
impl Clone for KvScaleKeys
Source§fn clone(&self) -> KvScaleKeys
fn clone(&self) -> KvScaleKeys
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 KvScaleKeys
impl Debug for KvScaleKeys
Source§impl PartialEq for KvScaleKeys
impl PartialEq for KvScaleKeys
impl Eq for KvScaleKeys
impl StructuralPartialEq for KvScaleKeys
Auto Trait Implementations§
impl Freeze for KvScaleKeys
impl RefUnwindSafe for KvScaleKeys
impl Send for KvScaleKeys
impl Sync for KvScaleKeys
impl Unpin for KvScaleKeys
impl UnwindSafe for KvScaleKeys
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.