pub struct ContextConfig {
pub token_window: usize,
pub unit_window: usize,
}Expand description
Window extents, in units of the rung each applies to.
Fields§
§token_window: usizeSignificant tokens the token-rung window spans, the current one included.
unit_window: usizeUnits the unit-rung window spans, the current one included.
Trait Implementations§
Source§impl Clone for ContextConfig
impl Clone for ContextConfig
impl Copy for ContextConfig
Source§impl Debug for ContextConfig
impl Debug for ContextConfig
Auto Trait Implementations§
impl Freeze for ContextConfig
impl RefUnwindSafe for ContextConfig
impl Send for ContextConfig
impl Sync for ContextConfig
impl Unpin for ContextConfig
impl UnsafeUnpin for ContextConfig
impl UnwindSafe for ContextConfig
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