pub enum Operation {
FormMeaning {
resonator: ResonatorId,
},
StabilizeIntent {
meaning: MeaningContext,
},
CreateCommitment {
intent: IntentContext,
},
ProduceConsequence {
commitment_id: CommitmentId,
},
EstablishCoupling {
source: ResonatorId,
target: ResonatorId,
attention_cost: u64,
},
ForceAction {
target: ResonatorId,
},
Optimization,
}Expand description
Operations that can be checked against invariants
Variants§
FormMeaning
Fields
§
resonator: ResonatorIdStabilizeIntent
Fields
§
meaning: MeaningContextCreateCommitment
Fields
§
intent: IntentContextProduceConsequence
Fields
§
commitment_id: CommitmentIdEstablishCoupling
ForceAction
Fields
§
target: ResonatorIdOptimization
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
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