pub struct AffectChange {
pub source: String,
pub delta_valence: f64,
pub delta_arousal: f64,
pub delta_dominance: f64,
pub effective_strength: f64,
pub timestamp: u64,
}Expand description
Record of an affect change event.
Fields§
§source: StringSource agent that caused the change
delta_valence: f64Affect delta applied
delta_arousal: f64§delta_dominance: f64§effective_strength: f64Effective contagion strength after resistance
timestamp: u64Timestamp
Trait Implementations§
Source§impl Clone for AffectChange
impl Clone for AffectChange
Source§fn clone(&self) -> AffectChange
fn clone(&self) -> AffectChange
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 moreAuto Trait Implementations§
impl Freeze for AffectChange
impl RefUnwindSafe for AffectChange
impl Send for AffectChange
impl Sync for AffectChange
impl Unpin for AffectChange
impl UnsafeUnpin for AffectChange
impl UnwindSafe for AffectChange
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