pub enum LayoutRule {
Interval {
period: usize,
},
List,
}Expand description
2026-09-28: The layer-kind rule a circuit declares.
Variants§
Interval
2026-09-28: full_attention on every layer i with (i + 1) % period == 0,
linear_attention elsewhere; the HF full_attention_interval convention.
List
2026-09-28: Any sequence of the kinds blocks maps.
Trait Implementations§
Source§impl Clone for LayoutRule
impl Clone for LayoutRule
Source§fn clone(&self) -> LayoutRule
fn clone(&self) -> LayoutRule
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 LayoutRule
impl Debug for LayoutRule
Source§impl PartialEq for LayoutRule
impl PartialEq for LayoutRule
impl Eq for LayoutRule
impl StructuralPartialEq for LayoutRule
Auto Trait Implementations§
impl Freeze for LayoutRule
impl RefUnwindSafe for LayoutRule
impl Send for LayoutRule
impl Sync for LayoutRule
impl Unpin for LayoutRule
impl UnwindSafe for LayoutRule
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.