pub struct KVCacheViewCell {
pub pos: llama_pos,
}
Expand description
Information associated with an individual cell in the KV cache view.
Fields§
§pos: llama_pos
The position for this cell. Takes KV cache shifts into account. May be negative if the cell is not populated.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KVCacheViewCell
impl RefUnwindSafe for KVCacheViewCell
impl Send for KVCacheViewCell
impl Sync for KVCacheViewCell
impl Unpin for KVCacheViewCell
impl UnwindSafe for KVCacheViewCell
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