pub struct AffectiveStatus {
pub safety_threat_index: f32,
pub emotional_valence: f32,
pub arousal_level: f32,
pub dissociation_index: f32,
pub trauma_reactivity: f32,
}Expand description
Affective status vector (OCS §8.2).
Fields§
§safety_threat_index: f32[-1.0: Severe Threat/Panic, +1.0: Deep Safety/Trust]
emotional_valence: f32[-1.0: Extreme Grief/Depression, +1.0: Joy/Euphoria]
arousal_level: f32[0.0: Comatose/Sedated, 1.0: Hyper-vigilant]
dissociation_index: f32[0.0: Fully Grounded, 1.0: Complete Depersonalization]
trauma_reactivity: f32[0.0: Baseline, 1.0: Active Flashback/Trigger]
Implementations§
Source§impl AffectiveStatus
impl AffectiveStatus
Sourcepub fn is_hyper_vigilant(&self) -> bool
pub fn is_hyper_vigilant(&self) -> bool
Whether this observer is in a hyper-vigilant state (OCS-T11, Packet OCS-13).
Note: safety_threat_index is in [-1.0: Severe Threat/Panic, +1.0: Deep Safety/Trust],
so severe threat is < -0.8 (not > 0.8), or high arousal > 0.9 (or >= 0.9 with active
trauma reactivity).
Trait Implementations§
Source§impl Clone for AffectiveStatus
impl Clone for AffectiveStatus
impl Copy for AffectiveStatus
Source§impl Debug for AffectiveStatus
impl Debug for AffectiveStatus
Source§impl Default for AffectiveStatus
impl Default for AffectiveStatus
Source§impl PartialEq for AffectiveStatus
impl PartialEq for AffectiveStatus
impl StructuralPartialEq for AffectiveStatus
Auto Trait Implementations§
impl Freeze for AffectiveStatus
impl RefUnwindSafe for AffectiveStatus
impl Send for AffectiveStatus
impl Sync for AffectiveStatus
impl Unpin for AffectiveStatus
impl UnsafeUnpin for AffectiveStatus
impl UnwindSafe for AffectiveStatus
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