pub enum MemoryEntryKind {
Decision,
Observation,
Constraint,
Outcome,
}Expand description
What a remembered thing is.
Four kinds, and no fifth for “everything else”. Memory worth navigating is made of decisions and what led to them; a transcript is the raw material, not the memory, and leaving it no kind of its own is how that stays true without anyone having to police it.
Variants§
Decision
Something was settled, by a person or by the engine.
Observation
Something was seen to be the case.
Constraint
Something was ruled out, or required.
Outcome
What came of the work.
Implementations§
Trait Implementations§
Source§impl Clone for MemoryEntryKind
impl Clone for MemoryEntryKind
Source§fn clone(&self) -> MemoryEntryKind
fn clone(&self) -> MemoryEntryKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MemoryEntryKind
Source§impl Debug for MemoryEntryKind
impl Debug for MemoryEntryKind
Source§impl<'de> Deserialize<'de> for MemoryEntryKind
impl<'de> Deserialize<'de> for MemoryEntryKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MemoryEntryKind
Source§impl Hash for MemoryEntryKind
impl Hash for MemoryEntryKind
Source§impl Ord for MemoryEntryKind
impl Ord for MemoryEntryKind
Source§fn cmp(&self, other: &MemoryEntryKind) -> Ordering
fn cmp(&self, other: &MemoryEntryKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MemoryEntryKind
impl PartialEq for MemoryEntryKind
Source§impl PartialOrd for MemoryEntryKind
impl PartialOrd for MemoryEntryKind
Source§impl Serialize for MemoryEntryKind
impl Serialize for MemoryEntryKind
impl StructuralPartialEq for MemoryEntryKind
Auto Trait Implementations§
impl Freeze for MemoryEntryKind
impl RefUnwindSafe for MemoryEntryKind
impl Send for MemoryEntryKind
impl Sync for MemoryEntryKind
impl Unpin for MemoryEntryKind
impl UnsafeUnpin for MemoryEntryKind
impl UnwindSafe for MemoryEntryKind
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