pub enum SurfaceMode<'a> {
Global,
Task {
goal: &'a str,
visible: Option<&'a ContextLedger>,
},
}Expand description
The surface mode: global (the historical production pipeline) or task (task PPR + novelty suppression with the same pipeline tail).
Variants§
Global
Task
Fields
§
visible: Option<&'a ContextLedger>The context ledger for novelty suppression: entries already
visible AND unchanged are not re-injected. None disables
suppression (full task-personalized map).
Trait Implementations§
Source§impl<'a> Clone for SurfaceMode<'a>
impl<'a> Clone for SurfaceMode<'a>
impl<'a> Copy for SurfaceMode<'a>
Auto Trait Implementations§
impl<'a> Freeze for SurfaceMode<'a>
impl<'a> RefUnwindSafe for SurfaceMode<'a>
impl<'a> Send for SurfaceMode<'a>
impl<'a> Sync for SurfaceMode<'a>
impl<'a> Unpin for SurfaceMode<'a>
impl<'a> UnsafeUnpin for SurfaceMode<'a>
impl<'a> UnwindSafe for SurfaceMode<'a>
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