pub enum NoteKind {
Rule,
Fact,
}Expand description
The two knowledge shapes a Category::Note skill can carry.
Variants§
Rule
Behavioral guidance — short half-life, fast iteration.
Fact
Semantic statement about the environment — long half-life.
Implementations§
Source§impl NoteKind
impl NoteKind
Sourcepub fn default_half_life_factor(self) -> f64
pub fn default_half_life_factor(self) -> f64
Compile-time default decay multiplier for this kind. The lifecycle
sweep applies the config-overridable values from
LifecycleThresholds; retrieval-side decay uses these defaults so
the two decay systems agree unless deliberately tuned apart.
Trait Implementations§
impl Copy for NoteKind
impl Eq for NoteKind
impl StructuralPartialEq for NoteKind
Auto Trait Implementations§
impl Freeze for NoteKind
impl RefUnwindSafe for NoteKind
impl Send for NoteKind
impl Sync for NoteKind
impl Unpin for NoteKind
impl UnsafeUnpin for NoteKind
impl UnwindSafe for NoteKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.