pub struct PerSequenceState {
pub target_layers: usize,
pub proposer: usize,
}Expand description
Per-sequence, per-rank device state, split by OWNER.
Fields§
§target_layers: usizeIndexer caches owned by the target stack’s DSA layers.
proposer: usizeState owned by the draft proposer (a DraftProposer, never a TransformerLayer).
Implementations§
Trait Implementations§
Source§impl Clone for PerSequenceState
impl Clone for PerSequenceState
Source§fn clone(&self) -> PerSequenceState
fn clone(&self) -> PerSequenceState
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 PerSequenceState
impl Debug for PerSequenceState
Source§impl Default for PerSequenceState
impl Default for PerSequenceState
Source§fn default() -> PerSequenceState
fn default() -> PerSequenceState
Returns the “default value” for a type. Read more
Source§impl PartialEq for PerSequenceState
impl PartialEq for PerSequenceState
impl Copy for PerSequenceState
impl Eq for PerSequenceState
impl StructuralPartialEq for PerSequenceState
Auto Trait Implementations§
impl Freeze for PerSequenceState
impl RefUnwindSafe for PerSequenceState
impl Send for PerSequenceState
impl Sync for PerSequenceState
impl Unpin for PerSequenceState
impl UnwindSafe for PerSequenceState
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
Compare self to
key and return true if they are equal.